import BaseError, { type BaseErrorData } from './base-error.ts'; export interface OperationalErrorData extends BaseErrorData { relatesToSystems?: string[] | string; } /** * Class representing an operational error. */ export default class OperationalError extends BaseError { readonly name: string; /** * Whether the error is operational. */ readonly isOperational = true; /** * An array of valid FT system codes (found in Biz Ops) which this error is related to. * If this error is caused by one or more dependencies, include their system code here. */ relatesToSystems: string[]; constructor(message?: string | OperationalErrorData); constructor(message: string, data?: OperationalErrorData); /** * Reserved keys that should not appear in `OperationalError.prototype.data`. */ protected static reservedKeys: string[]; protected static defaultMessage: string; } //# sourceMappingURL=operational-error.d.ts.map