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, any>;
  query?: Record<string, any>;
  body?: Record<string, any>;
}

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