import { BaseError } from '../../../../framework/error/mod.js' export class DeregisterDeviceClientError extends BaseError { public readonly _tag = 'DeregisterDeviceClientError' constructor(public readonly cause: unknown) { super( 'failed to deregister a device, because the client had a problem communicating with the Generous platform failed.', ) } } export class DeregisterDevicePlatformError extends BaseError { public readonly _tag = 'DeregisterDevicePlatformError' constructor(public readonly cause: unknown) { super( 'failed to deregister a device, because the Generous platform had a problem while processing the request.', ) } } export class DeviceIsAlreadyDeregisteredError extends BaseError { public readonly _tag = 'DeviceIsAlreadyDeregisteredError' }