mirror of
https://gitlab.com/mobicoop/v3/service/matcher.git
synced 2025-12-31 06:22:41 +00:00
refactor to ddh, first commit
This commit is contained in:
11
old/modules/geography/exceptions/geography.exception.ts
Normal file
11
old/modules/geography/exceptions/geography.exception.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
export class GeographyException implements Error {
|
||||
name: string;
|
||||
code: number;
|
||||
message: string;
|
||||
|
||||
constructor(code: number, message: string) {
|
||||
this.name = 'GeographyException';
|
||||
this.code = code;
|
||||
this.message = message;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user