UNPKG

@atomiqlabs/base

Version:

Base classes and interfaces for atomiq protocol

16 lines (12 loc) 350 B
/** * Represents an error or inconsistency when verifying {@link SwapData} * * @category Errors */ export class SwapDataVerificationError extends Error { constructor(msg: string) { super(msg); // Set the prototype explicitly. Object.setPrototypeOf(this, SwapDataVerificationError.prototype); } }