code

val code: Int

The numeric error code returned by the browser.

Codes are typically JSON-RPC standard values, e.g.:

  • -32601: Method not found

  • -32602: Invalid params

  • -32000: Generic command execution error