mirror of
https://gitlab.com/mobicoop/v3/service/matcher.git
synced 2026-01-01 14:02:39 +00:00
wip
This commit is contained in:
13
src/modules/geography/exceptions/geography.exception.ts
Normal file
13
src/modules/geography/exceptions/geography.exception.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
export class GeographyException implements Error {
|
||||
name: string;
|
||||
message: string;
|
||||
|
||||
constructor(private _code: number, private _message: string) {
|
||||
this.name = 'GeographyException';
|
||||
this.message = _message;
|
||||
}
|
||||
|
||||
get code(): number {
|
||||
return this._code;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user