export interface ApiErrorCase { code: string; message: string; } export declare const ErrorCases: { API: { invalidURL: ApiErrorCase; requestConfigurationError: ApiErrorCase; httpError: ApiErrorCase; unexpectedResponse: ApiErrorCase; noResponseFromServer: ApiErrorCase; unHandledError: ApiErrorCase; }; }; /** * Error class for handling ApiError * */ export declare class ApiError extends Error { private error; /** * * @param errorCase `string` Error cases which can be handled by NCP Client service */ constructor(errorCase: ApiErrorCase); get(): ApiErrorCase; }