Files
mtdb_movie/common/resources/client/errors/backend-error-response.ts
T
maher 511fad8199
Build / run (push) Has been cancelled
Initial commit
2026-05-14 13:42:10 +02:00

13 lines
282 B
TypeScript
Executable File

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