C# OJAI Client API
Com.Mapr.Data.Db.RpcError Class Reference

More...

Inheritance diagram for Com.Mapr.Data.Db.RpcError:

Public Member Functions

 RpcError (RpcError other)
 
RpcError Clone ()
 
override bool Equals (object other)
 
bool Equals (RpcError other)
 
override int GetHashCode ()
 
override string ToString ()
 
void WriteTo (pb::CodedOutputStream output)
 
int CalculateSize ()
 
void MergeFrom (RpcError other)
 
void MergeFrom (pb::CodedInputStream input)
 

Public Attributes

const int ErrCodeFieldNumber = 1
 Field number for the "err_code" field. More...
 
const int ErrorMessageFieldNumber = 2
 Field number for the "error_message" field. More...
 
const int JavaStackTraceFieldNumber = 3
 Field number for the "java_stack_trace" field. More...
 

Properties

static pb::MessageParser< RpcErrorParser [get]
 
static pbr::MessageDescriptor Descriptor [get]
 
pbr::MessageDescriptor pb::IMessage. Descriptor [get]
 
global::Com.Mapr.Data.Db.ErrorCode ErrCode [get, set]
 
  • Error code for the RPC. NO_ERROR indicates RPC completed successfully
More...
 
string ErrorMessage [get, set]
 
  • NULL if err is NO_ERROR
More...
 
string JavaStackTrace [get, set]
 
  • NULL if err is NO_ERROR
More...
 

Private Member Functions

partial void OnConstruction ()
 

Private Attributes

pb::UnknownFieldSet _unknownFields
 
global::Com.Mapr.Data.Db.ErrorCode errCode_ = 0
 
string errorMessage_ = ""
 
string javaStackTrace_ = ""
 

Static Private Attributes

static readonly pb::MessageParser< RpcError_parser = new pb::MessageParser<RpcError>(() => new RpcError())
 

Detailed Description

  • Protobuf message that encapsulates RPC operation error, if any. Each RPC response should include RpcError message, with NO_ERROR indicating success

Member Data Documentation

◆ ErrCodeFieldNumber

const int Com.Mapr.Data.Db.RpcError.ErrCodeFieldNumber = 1

Field number for the "err_code" field.

◆ ErrorMessageFieldNumber

const int Com.Mapr.Data.Db.RpcError.ErrorMessageFieldNumber = 2

Field number for the "error_message" field.

◆ JavaStackTraceFieldNumber

const int Com.Mapr.Data.Db.RpcError.JavaStackTraceFieldNumber = 3

Field number for the "java_stack_trace" field.

Property Documentation

◆ ErrCode

global.Com.Mapr.Data.Db.ErrorCode Com.Mapr.Data.Db.RpcError.ErrCode
getset

  • Error code for the RPC. NO_ERROR indicates RPC completed successfully

◆ ErrorMessage

string Com.Mapr.Data.Db.RpcError.ErrorMessage
getset

  • NULL if err is NO_ERROR

◆ JavaStackTrace

string Com.Mapr.Data.Db.RpcError.JavaStackTrace
getset

  • NULL if err is NO_ERROR