const AppErrors = require('@claud/node-app-errors');
Error.prototype.toJSON = function() {
return AppErrors.BaseError.errorToJson(this);
};
throw new AppErrors.HttpError.Forbidden();
-
Notifications
You must be signed in to change notification settings - Fork 0
Custome errors for your node app.
License
Claud/node-app-errors
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Custome errors for your node app.
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published