class Protobuf::Rpc::Service
def rpc_failed(message="RPC Failed while executing service method #{@current_method}")
not any way to get around this currently (and I'm not sure you should want to).
NOTE: This shortcuts the @async_responder paradigm. There is
Automatically fail a service method.
def rpc_failed(message="RPC Failed while executing service method #{@current_method}") error_message = 'Unable to invoke rpc_failed, no failure callback is setup.' log_and_raise_error(error_message) if @rpc_failure_cb.nil? error = message.is_a?(String) ? RpcFailed.new(message) : message log_warn "[#{log_signature}] RPC Failed: %s" % error.message @rpc_failure_cb.call(error) end