Export const USER_NOT_LOGGED

pull/77/head
MillenniumEarl 2021-03-10 10:00:57 +01:00
parent fbe2faf53b
commit 1b7cf2b85a
2 changed files with 3 additions and 7 deletions

View File

@ -21,13 +21,7 @@ import UserProfile from "./scripts/classes/mapping/user-profile";
import LatestSearchQuery from "./scripts/classes/query/latest-search-query";
import HandiworkSearchQuery from "./scripts/classes/query/handiwork-search-query";
import HandiWork from "./scripts/classes/handiwork/handiwork";
import { UserNotLogged } from "./scripts/classes/errors";
//#region Global variables
const USER_NOT_LOGGED = "User not authenticated, unable to continue";
//#endregion
import { UserNotLogged, USER_NOT_LOGGED } from "./scripts/classes/errors";
//#region Re-export classes

View File

@ -20,6 +20,8 @@ interface IBaseError {
error: Error;
}
export const USER_NOT_LOGGED = "User not authenticated, unable to continue";
export class GenericAxiosError extends Error implements IBaseError {
id: number;
message: string;