Error implements error.
()
| 11 | |
| 12 | // Error implements error. |
| 13 | func (e Error) Error() string { |
| 14 | if e.Message != "" { |
| 15 | return e.Message |
| 16 | } |
| 17 | return errorMessage[e.Code] |
| 18 | } |
| 19 | |
| 20 | // ErrorCode returns the JSON RPC error code associated with the error. |
| 21 | func (e Error) ErrorCode() int { |
no outgoing calls