Cashu-TS - v4.7.2
    Preparing search index...

    Function isMintOperationError

    • True when e is a MintOperationError, including look-alikes by name + code.

      Parameters

      • e: unknown

      Returns e is MintOperationError

      Prefer this over instanceof, which misses errors thrown by another copy of this package (eg: npm dedupe failure) or by a custom request layer declaring its own class.