0.0.17 • Published 7 years ago

@stayer/interfaces v0.0.17

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

@stayer/interfaces

A module that contains common interfaces, types, enums, errors & exceptions used by other modules of the Stayer framework.

Public API

1) Exception - an abstract class to extend default Error Node.js class.

2) HttpError - an abstract Exception representing any HTTP error status.

Http exceptions:

3) BadRequest - BadRequest (400) Exception

4) Unauthorized - Unauthorized (401) Exception

5) Forbidden - Forbidden (403) Exception

6) NotFound - NotFound (404) Exception

7) MethodNotAllowed - MethodNotAllowed (405) Exception

8) Conflict - Conflict (409) Exception

9) InternalServerError - InternalServerError (500) Exception

10) NotImplemented - NotImplemented (501) Exception

More HTTP Exceptions can be added by extending the HttpError abstract class.

0.0.17

7 years ago

0.0.16

8 years ago

0.0.15

8 years ago

0.0.14

8 years ago

0.0.13

8 years ago

0.0.12

8 years ago

0.0.11

8 years ago

0.0.10

8 years ago

0.0.9

8 years ago

0.0.8

8 years ago

0.0.7

8 years ago

0.0.6

8 years ago

0.0.5

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago