public JsonRpcException(string message, JsonRpcError response) : base(message) { Error = response; }
public JsonRpcException(string message, JsonRpcError response, Exception inner) : base(message, inner) { Error = response; }
public JsonRpcException(JsonRpcError error) : this($"({error.Code}) {error.Message}", error) { }