// HF-compatible stub for error handling export class ServiceBadAttemptError extends Error { constructor(message: string) { super(message); this.name = 'ServiceBadAttemptError'; } } export class SecurityCompromiseError extends Error { constructor(message: string) { super(message); this.name = 'SecurityCompromiseError'; } } export class ServiceCrashedError extends Error { constructor(message: string) { super(message); this.name = 'ServiceCrashedError'; } } export class ServiceNodeResourceDrainError extends Error { constructor(message: string) { super(message); this.name = 'ServiceNodeResourceDrainError'; } }