Function throwErrorIfAny

  • Throw errors from a SubmittableResult.

    Parameters

    • api: ApiPromise

      The ApiPromise instance used to find meta errors.

    • result: SubmittableResult

      The SubmittableResult to log errors from.

    • unsub: (() => void)

      A function to stop listen for events.

        • (): void
        • Returns void

    Returns void

Generated using TypeDoc