Merge pull request #7 from forkbomb9/master

Export GeoBlocked and WrongLicense
This commit is contained in:
Sayem Chowdhury 2021-08-27 01:02:47 +06:00 committed by GitHub
commit 27ae70f84b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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';