UNPKG

matterbridge-roborock-vacuum-plugin

Version:
18 lines 807 B
/** * Error handling module. * * Provides a hierarchical error structure for type-safe error handling throughout the plugin. * All errors extend from BaseError and include error codes, status codes, and metadata. * * @example * ```typescript * import { DeviceNotFoundError, AuthenticationError } from './errors'; * * throw new DeviceNotFoundError('abc123'); * throw new AuthenticationError('Invalid credentials', { username: 'user@example.com' }); * ``` */ export { BaseError } from './BaseError.js'; export { AuthenticationError, InvalidCredentialsError, TokenExpiredError, VerificationCodeExpiredError, } from './AuthenticationError.js'; export { DeviceConnectionError, DeviceError, DeviceInitializationError, DeviceNotFoundError } from './DeviceError.js'; //# sourceMappingURL=index.d.ts.map