Duktape::API::Call
NOTE: These methods are all equivalent to the Duktape
pcall_xxx functions because we wish to safely return
from errors.
Constants
ERRORS = {
error: LibDUK::Ret::Error,
eval: LibDUK::Ret::EvalError,
range: LibDUK::Ret::RangeError,
reference: LibDUK::Ret::ReferenceError,
syntax: LibDUK::Ret::SyntaxError,
type: LibDUK::Ret::TypeError,
uri: LibDUK::Ret::UriError,
}
Instance methods
call_failure(error = :error)
Sourcecall_success
Sourcereturn_undefined
Source