UNPKG
@r1tsu/payload
Version:
latest (3.0.0-beta.31)
3.0.0-beta.31
3.0.0-beta.28
3.0.0-beta.26
3.0.0-beta.25
3.0.0-beta.24
3.0.0-beta.23
3.0.0-beta.22
3.0.0-beta.21
3.0.0-beta.20
3.0.0-beta.15
3.0.0-beta.11
@r1tsu/payload
/
dist
/
errors
/
InvalidSchema.js
10 lines
(9 loc)
•
297 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
import
httpStatus
from
'http-status'
;
import
APIError
from
'./APIError.js'
;
class
InvalidSchema
extends
APIError
{
constructor
(
message, results
){
super
(message, httpStatus.
INTERNAL_SERVER_ERROR
, results); } }
export
default
InvalidSchema
;
//# sourceMappingURL=InvalidSchema.js.map