UNPKG
@dooboostore/simple-boot-http-server
Version:
latest (1.0.20)
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
/
ForbiddenError.js
8 lines
•
306 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
import
{
HttpError
}
from
'./HttpError'
;
import
{
HttpStatus
}
from
'../codes/HttpStatus'
;
export
class
ForbiddenError
extends
HttpError
{
constructor
(
{ status = HttpStatus.Forbidden, message =
'Forbidden'
} = {}
) {
super
({ status, message }); } }
//# sourceMappingURL=ForbiddenError.js.map