Skip to content
On this page

ShewenyError

Throw an error in production mode and emit error event on production mode.

Constuctor

js
new ShewenyError(client, 'INVALID_CLASS', path);
NameTypeDescription
clientShewenyClientThe client
errorStringThe name of the error
args*The arguments for functions