/**
 * Object representing error information
 */
type HttpError = {
    /**
     * Error code
     */
    code: string;
    /**
     * Error message
     */
    message: string;
    /**
     * Error from inner http call
     */
    innerHttpError: InnerHttpError;
};
/**
 * Object representing inner http error
 */
type InnerHttpError = {
    /**
     * HttpStatusCode from failed request
     */
    statusCode: number;
    /**
     * Body from failed request
     */
    body: any;
};
/**
 * An HTTP API response
 */
type ErrorResponse = {
    /**
     * Error message
     */
    error: HttpError;
};

export type { ErrorResponse, HttpError, InnerHttpError };
