node-addon-api icon indicating copy to clipboard operation
node-addon-api copied to clipboard

[Tests] tests coverage for base error class

Open JckXia opened this issue 3 years ago • 3 comments

class methods
Covered (#621) static Error New(Napi::Env env)
Napi::Error()
Napi::Error(napi_env env, napi_value value)
Error::New(Napi::Env env, const char * message)
Covered (#24) Error::New(Napi::Env env, const std::string& message)
Covered(#621) Error::Fatal(const char * location, const char * message)
Error(Error&& other)
Error& operator =(Error&& other)
Error(const Error&)
Error& operator =(Error&)
const char* what() const NAPI_NOEXCEPT override
template <typename TError> static TError New(napi_env env, const char* message, size_t length, create_error_fn create_error)
Covered(#52) const std::string& Message() const NAPI_NOEXCEPT
Covered(#52) void ThrowAsJavaScriptException() const

JckXia avatar Apr 02 '21 01:04 JckXia

This issue is stale because it has been open many days with no activity. It will be closed soon unless the stale label is removed or a comment is made.

github-actions[bot] avatar Jul 02 '21 00:07 github-actions[bot]

This issue is stale because it has been open many days with no activity. It will be closed soon unless the stale label is removed or a comment is made.

github-actions[bot] avatar Jan 13 '22 00:01 github-actions[bot]

This issue is stale because it has been open many days with no activity. It will be closed soon unless the stale label is removed or a comment is made.

github-actions[bot] avatar May 06 '22 00:05 github-actions[bot]

This issue is stale because it has been open many days with no activity. It will be closed soon unless the stale label is removed or a comment is made.

github-actions[bot] avatar Nov 12 '22 00:11 github-actions[bot]

Marked as complete following #1295

JckXia avatar Mar 23 '23 01:03 JckXia