implemented the 1xx range of errors

This commit is contained in:
2017-04-11 11:10:15 +02:00
parent 6bae49e7bc
commit aefd608c32
2 changed files with 51 additions and 0 deletions

View File

@@ -13,6 +13,16 @@ export class status200 extends HttpStatus {
}
}
export class status201 extends HttpStatus {
constructor () {
super({
code: 201,
text: 'Created',
description: `The request has been fulfilled, resulting in the creation of a new resource.`
})
}
}
export class status202 extends HttpStatus {
constructor () {
super({