@arkade-os/sdk Documentation - v0.3.11
    Preparing search index...

    Function maybeArkError

    • Try to convert an error to an ArkError class, returning undefined if the error is not an ArkError

      Parameters

      • error: any

        The error to parse

      Returns ArkError | undefined

      The parsed ArkError, or undefined if the error is not an ArkError