@atomiqlabs/base
Version:
Base classes and interfaces for atomiq protocol
16 lines (12 loc) • 350 B
text/typescript
/**
* 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);
}
}