UNPKG
@feqra/voucher-pool-common
Version:
latest (1.0.0)
1.0.0
Common library used to handle common errors for a voucher pool system generation.
@feqra/voucher-pool-common
/
build
/
errors
/
custom-error.d.ts
9 lines
(8 loc)
•
219 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
export
declare
abstract
class
CustomError
extends
Error
{
abstract
statusCode
:
number
;
constructor
(
message
:
string
);
abstract
serializeErrors
(): {
message
:
string
;
field
?:
string
; }[]; }