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
/
database-connection-error.d.ts
10 lines
(9 loc)
•
237 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
import
{
CustomError
}
from
'./custom-error'
;
export
declare
class
DatabaseConnectionError
extends
CustomError
{
statusCode
:
number
;
reason
:
string
;
constructor
(
);
serializeErrors
(): {
message
:
string
; }[]; }