export interface IErrorResponseDTO {
  detail?: string;
  instance?: string;
  status: number;
  title: string;
  type?: string;
  context: IErrorContextResponseDTO;
  extra: IErrorExtraResponseDTO;
}

export interface IErrorContextResponseDTO {
  user?: unknown;
  params?: Record<string, unknown>;
  query?: Record<string, unknown>;
  body?: Record<string, unknown>;
}

export interface IErrorExtraResponseDTO {
  errors: Record<string, unknown>[];
}
