groupdocs-parser-cloud
Version:
GroupDocs.Parser Cloud SDK for Node.js
57 lines (56 loc) • 1 kB
TypeScript
/**
* Describes API error.
*/
export declare class ApiError {
/**
* Attribute type map
*/
static attributeTypeMap: Array<{
name: string;
baseName: string;
type: string;
}>;
/**
* Returns attribute type map
*/
static getAttributeTypeMap(): {
name: string;
baseName: string;
type: string;
}[];
/**
* Error.
*/
error: Error;
constructor(init?: Partial<ApiError>);
}
/**
* Error.
*/
export declare class Error {
/**
* Attribute type map
*/
static attributeTypeMap: Array<{
name: string;
baseName: string;
type: string;
}>;
/**
* Returns attribute type map
*/
static getAttributeTypeMap(): {
name: string;
baseName: string;
type: string;
}[];
/**
* Error code.
*/
code: string;
/**
* Error message
*/
message: string;
constructor(init?: Partial<Error>);
}