UNPKG
@tech-arelius/api-client
Version:
latest (1.0.0)
1.0.0
Configurable HTTP client with builder pattern for Node.js/TypeScript
@tech-arelius/api-client
/
src
/
exception
/
ApiClientException.ts
12 lines
(11 loc)
•
286 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
export
class
ApiClientException
extends
Error
{
constructor
(
message
:
string
,
public
code
?:
number
,
public
transactionId
?:
string
,
public
timestamp
?:
string
) {
super
(message);
this
.
name
=
'ApiClientException'
; } }