2021-03-05 11:27:36 +00:00
|
|
|
interface IBaseError {
|
2021-03-05 12:06:09 +00:00
|
|
|
/**
|
|
|
|
* Unique identifier of the error.
|
|
|
|
*/
|
|
|
|
id: number;
|
|
|
|
/**
|
|
|
|
* Error message.
|
|
|
|
*/
|
|
|
|
message: string;
|
|
|
|
/**
|
|
|
|
* Error to report.
|
|
|
|
*/
|
|
|
|
error: Error;
|
2021-03-05 11:27:36 +00:00
|
|
|
}
|
|
|
|
export declare class GenericAxiosError extends Error implements IBaseError {
|
2021-03-05 12:06:09 +00:00
|
|
|
id: number;
|
|
|
|
message: string;
|
|
|
|
error: Error;
|
|
|
|
constructor(args: IBaseError);
|
2021-03-05 11:27:36 +00:00
|
|
|
}
|
|
|
|
export declare class UnexpectedResponseContentType extends Error implements IBaseError {
|
2021-03-05 12:06:09 +00:00
|
|
|
id: number;
|
|
|
|
message: string;
|
|
|
|
error: Error;
|
|
|
|
constructor(args: IBaseError);
|
2021-03-05 11:27:36 +00:00
|
|
|
}
|
2021-03-05 12:06:09 +00:00
|
|
|
export declare class InvalidF95Token extends Error {}
|
|
|
|
export declare class UserNotLogged extends Error {}
|
|
|
|
export declare class ParameterError extends Error {}
|
2021-03-05 11:27:36 +00:00
|
|
|
export {};
|