2023-05-11 15:47:55 +00:00
|
|
|
export class GeographyException implements Error {
|
|
|
|
name: string;
|
2023-05-12 14:23:42 +00:00
|
|
|
code: number;
|
2023-05-11 15:47:55 +00:00
|
|
|
message: string;
|
|
|
|
|
2023-05-12 14:23:42 +00:00
|
|
|
constructor(code: number, message: string) {
|
2023-05-11 15:47:55 +00:00
|
|
|
this.name = 'GeographyException';
|
2023-05-12 14:23:42 +00:00
|
|
|
this.code = code;
|
|
|
|
this.message = message;
|
2023-05-11 15:47:55 +00:00
|
|
|
}
|
|
|
|
}
|