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;
|
||||
}
|
||||
|
||||
class WrongLicense extends Error {
|
||||
export class WrongLicense extends Error {
|
||||
constructor(format: string) {
|
||||
super();
|
||||
this.name = 'WrongLicense';
|
||||
@ -18,7 +18,7 @@ class WrongLicense extends Error {
|
||||
}
|
||||
}
|
||||
|
||||
class GeoBlocked extends Error {
|
||||
export class GeoBlocked extends Error {
|
||||
constructor(country: string) {
|
||||
super();
|
||||
this.name = 'GeoBlocked';
|
||||
|
Loading…
x
Reference in New Issue
Block a user