/** * Stable, machine-readable identifiers for the failure modes the SDK reports. * * Prefer branching on `WopeeError.code` over matching on the message text — * messages are written for humans and may be reworded. */ export type WopeeErrorCode = 'WOPEE_CONFIG_INVALID' | 'WOPEE_API_UNREACHABLE' | 'WOPEE_API_UNAUTHORIZED' | 'WOPEE_API_ERROR'; export interface WopeeErrorOptions { code?: WopeeErrorCode; cause?: unknown; } export declare class WopeeError extends Error { readonly code?: WopeeErrorCode; constructor(message: string, options?: WopeeErrorOptions); } //# sourceMappingURL=error.interface.d.ts.map