mirror of
https://github.com/d-fi/d-fi-core.git
synced 2025-07-27 07:34:42 +02:00
Merge pull request #7 from forkbomb9/master
Export GeoBlocked and WrongLicense
This commit is contained in:
commit
27ae70f84b
@ -10,7 +10,7 @@ interface userData {
|
|||||||
country: string;
|
country: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
class WrongLicense extends Error {
|
export class WrongLicense extends Error {
|
||||||
constructor(format: string) {
|
constructor(format: string) {
|
||||||
super();
|
super();
|
||||||
this.name = 'WrongLicense';
|
this.name = 'WrongLicense';
|
||||||
@ -18,7 +18,7 @@ class WrongLicense extends Error {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
class GeoBlocked extends Error {
|
export class GeoBlocked extends Error {
|
||||||
constructor(country: string) {
|
constructor(country: string) {
|
||||||
super();
|
super();
|
||||||
this.name = 'GeoBlocked';
|
this.name = 'GeoBlocked';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user