Skip to content

Repository files navigation

Custome errors for your node app.

const AppErrors = require('@claud/node-app-errors');

Error.prototype.toJSON = function() {
    return AppErrors.BaseError.errorToJson(this);
};

throw new AppErrors.HttpError.Forbidden();

About

Custome errors for your node app.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages