parent
2f53cb4b67
commit
93cb4ba102
|
|
@ -176,3 +176,14 @@ export function buildIdentifierParam(identifier: string | number): string {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Error which should be thrown by clients for errors of the client side.
|
||||
*/
|
||||
export class ApiClientError extends Error {
|
||||
constructor(message: string) {
|
||||
super(message);
|
||||
|
||||
this.name = "ApiClientError";
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue