import type { OneOrMany } from '@flex-development/tutils'; import type { ExceptionData } from '../types'; /** * @file Data Transfer Objects - ExceptionDataDTO * @module exceptions/dtos/ExceptionDataDTO */ /** * `Exception` data transfer object. * * @template T - Error type * * @extends {ExceptionData} */ export interface ExceptionDataDTO extends ExceptionData { /** * Single error or group of errors. */ errors?: OneOrMany; /** * Custom message. */ message?: string; } //# sourceMappingURL=exception-data.dto.d.ts.map