Skip to main content

IntermediaryError

Defined in: atomiq-sdk/src/errors/IntermediaryError.ts:6

An error or inconsistency in the intermediary's returned data, this will blacklist the intermediary

Extends

  • Error

Constructors

Constructor

new IntermediaryError(
msg,
originalError?,
recoverable?): IntermediaryError;

Defined in: atomiq-sdk/src/errors/IntermediaryError.ts:14

Parameters

ParameterTypeDefault value
msgstringundefined
originalError?anyundefined
recoverable?booleanfalse

Returns

IntermediaryError

Overrides

Error.constructor

Properties

originalStack?

optional originalStack: string;

Defined in: atomiq-sdk/src/errors/IntermediaryError.ts:12


recoverable

recoverable: boolean;

Defined in: atomiq-sdk/src/errors/IntermediaryError.ts:11

Whether the error is recoverable and intermediary (LP) shouldn't be blacklisted for it