export interface BackendErrorMessages { [key: string]: string | string[]; } export interface BackendErrorResponse { errors?: T; message?: string; exception?: string; action?: {label: string; action: string}; status: number; type?: string; }