UNPKG
@dooboostore/simple-boot-http-server
Version:
latest (1.0.22)
1.0.22
1.0.21
1.0.20
1.0.19
1.0.18
1.0.17
1.0.16
1.0.15
1.0.14
back end http server frameworks
github.com/dooboostore-develop/packages
@dooboostore/simple-boot-http-server
/
errors
/
NotFoundError.js
8 lines
•
303 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
import
{
HttpError
}
from
'./HttpError'
;
import
{
HttpStatus
}
from
'../codes/HttpStatus'
;
export
class
NotFoundError
extends
HttpError
{
constructor
(
{ status = HttpStatus.NotFound, message =
'Not Found'
} = {}
) {
super
({ status, message }); } }
//# sourceMappingURL=NotFoundError.js.map