Files
mtdb_movie/common/resources/client/errors/backend-error-response.ts
maher 703f50a09d
Some checks failed
Build / run (push) Has been cancelled
first commit
2025-10-29 11:42:25 +01: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;
}