@aptos-labs/ts-sdk - v5.1.4
    Preparing search index...

    Function getErrorMessage

    • Get the error message from an unknown error.

      Parameters

      • error: unknown

        The error to get the message from

      Returns string

      The error message