dap-design-system
Version:
Official design system for the DÁP (dap.gov.hu)
12 lines (11 loc) • 356 B
TypeScript
export declare class HttpError extends Error {
response: any;
status: number;
constructor(message: string, response: any, status: number);
}
export declare class FileError extends Error {
file: File;
type: string;
meta?: Record<string, any>;
constructor(message: string, file: File, type: string, meta?: Record<string, any>);
}