@docsvision/webclient
Version:
Type definitions for DocsVision WebClient scripts and extensions.
18 lines (17 loc) • 455 B
TypeScript
/** @internal */
export interface IServerErrorResponse {
ExceptionMessage?: string;
ExceptionType?: string;
Message?: string;
StackTrace?: string;
}
/**
* Стандартная серверная ошибка
*/
export declare class ServerError {
message: string;
type: string;
stack: string;
constructor(message: string, type: string, stack: string);
static fromResponse(data: IServerErrorResponse): ServerError;
}