1.0.1 • Published 7 years ago

@recipher/errors v1.0.1

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

@recipher/errors

Server errors.

throw new DeclinedError();        // 423
throw new DuplicateError();       // 422
throw new NotAuthorizedError();   // 403
throw new NotFoundError();        // 404
throw new UnauthenticatedError(); // 401
throw new ValidationError();      // 422