UNPKG

@k8ts/instruments

Version:

A collection of utilities and core components for k8ts.

16 lines (14 loc) 424 B
export class InstrumentsError extends Error { override get name() { return this.constructor.name } constructor(message: string, details: Record<string, any> = {}) { super(message) Object.assign(this, details) } } export class ProxyOperationError extends InstrumentsError { constructor(message: string, details: Record<string, any> = {}) { super(message, details) } }