- Source:
Methods
-
<static> isValidError(error, version)
-
Determines if the passed error is a valid JSON-RPC error response
Parameters:
Name Type Description error
Object The error version
Number JSON-RPC version 1 or 2 - Source:
Returns:
- Type
- Boolean