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