Endo API documentation
    Preparing search index...

    Type Alias Raise

    Raise: (reason: Error) => void

    To make an assert which terminates some larger unit of computation like a transaction, vat, or process, call makeAssert with a Raise callback, where that callback actually performs that larger termination. If possible, the callback should also report its reason parameter as the alleged reason for the termination.

    Type declaration

      • (reason: Error): void
      • Parameters

        • reason: Error

        Returns void