export interface IApiErrorBase { status: number; // http status code originatingRequest: { method?: string; url?: string; }; wasCancelled: boolean; response: ErrorResponseData; // will contain the original error response } export interface ITraceableApiErrorBase extends IApiErrorBase { traceableId: string; }