Function isSpecError

  • Check if an error code is a JSON-RPC spec error

    Parameters

    • code: number

    Returns boolean