Skip to main content

parseTxErrorMessage

Callable

  • parseTxErrorMessage(error: any): any

  • Parses the errors returned from RPC calls and returns the error message string. Useful to display it in toast messages.


    Parameters

    • error: any

    Returns any