|
static bool | IllegalInvocation (const CallbackArguments *args, const std::string &func_name, const std::string &target_name) |
|
static bool | NotEnoughArgs (const CallbackArguments *args, const std::string &name, const std::string &target, size_t required, size_t given) |
|
static bool | CannotConvert (const CallbackArguments *args, const std::string &name, const std::string &target, const std::string &given, const std::string &required) |
|
static bool | General (const CallbackArguments *args, const std::string &name, const std::string &target, const std::string &message) |
|
static bool | Raw (const CallbackArguments *args, const js::JsError &value) |
|
template<bool ReturnPromise>
struct shaka::impl::ThrowError< ReturnPromise >
Defines a number of methods that throw a TypeError in the current Isolate instance. These are the same error messages given from Chrome.
If |ReturnPromise| is true, this will not throw an exception and will instead set the return value of the method to a Promise that has been rejected with the exception.
Definition at line 81 of file register_member.h.