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) { }