UNPKG

trade360-nodejs-sdk

Version:
24 lines (23 loc) 669 B
/** * ErrorMessage class is responsible for the * error message structure of the HTTP response. * It contains the message of the error. * @example "Message": "Incorrect user name or * password for requested package" */ declare class ErrorMessage { message: string; } /** * HeaderContent class is responsible for the * header structure of the HTTP response. It contains * the HTTP status code and the errors if any. * @example "HttpStatusCode": 401 * @example "Errors": [{"Message": "Incorrect user * name or password for requested package"}] */ export declare class HeaderContent { httpStatusCode: number; errors?: ErrorMessage[]; } export {};