/**
 * 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>;
}
