forked from geolba/tethys.backend
12 lines
277 B
TypeScript
12 lines
277 B
TypeScript
|
class DoiClientException extends Error {
|
||
|
public status: number;
|
||
|
public message: string;
|
||
|
|
||
|
constructor(status: number, message: string) {
|
||
|
super(message);
|
||
|
this.status = status;
|
||
|
this.message = message;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
export default DoiClientException;
|