Export const USER_NOT_LOGGED
parent
fbe2faf53b
commit
1b7cf2b85a
|
@ -21,13 +21,7 @@ import UserProfile from "./scripts/classes/mapping/user-profile";
|
||||||
import LatestSearchQuery from "./scripts/classes/query/latest-search-query";
|
import LatestSearchQuery from "./scripts/classes/query/latest-search-query";
|
||||||
import HandiworkSearchQuery from "./scripts/classes/query/handiwork-search-query";
|
import HandiworkSearchQuery from "./scripts/classes/query/handiwork-search-query";
|
||||||
import HandiWork from "./scripts/classes/handiwork/handiwork";
|
import HandiWork from "./scripts/classes/handiwork/handiwork";
|
||||||
import { UserNotLogged } from "./scripts/classes/errors";
|
import { UserNotLogged, USER_NOT_LOGGED } from "./scripts/classes/errors";
|
||||||
|
|
||||||
//#region Global variables
|
|
||||||
|
|
||||||
const USER_NOT_LOGGED = "User not authenticated, unable to continue";
|
|
||||||
|
|
||||||
//#endregion
|
|
||||||
|
|
||||||
//#region Re-export classes
|
//#region Re-export classes
|
||||||
|
|
||||||
|
|
|
@ -20,6 +20,8 @@ interface IBaseError {
|
||||||
error: Error;
|
error: Error;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export const USER_NOT_LOGGED = "User not authenticated, unable to continue";
|
||||||
|
|
||||||
export class GenericAxiosError extends Error implements IBaseError {
|
export class GenericAxiosError extends Error implements IBaseError {
|
||||||
id: number;
|
id: number;
|
||||||
message: string;
|
message: string;
|
||||||
|
|
Loading…
Reference in New Issue