trade360-nodejs-sdk
Version:
LSports Trade360 SDK for Node.js
24 lines (23 loc) • 669 B
TypeScript
/**
* 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 {};