@lokalise/node-api
Version:
Official Lokalise API 2.0 Node.js client
20 lines (17 loc) • 344 B
text/typescript
/**
* Interface representing the structure of an API error.
*/
export interface IApiError {
/**
* The error message.
*/
message: string;
/**
* The error code representing the type of API error.
*/
code: number;
/**
* Additional details about the error (optional).
*/
details?: Record<string, string | number | boolean>;
}