Example #1
0
 public RpcRethrowableException(
     int errorCode,
     string errorMessage   = "",
     byte[] additionalData = null
     ) : base(errorMessage)
 {
     ErrorData = new RpcRethrowableExceptionData()
     {
         AdditionalData = additionalData,
         ErrorCode      = errorCode,
         ErrorMessage   = errorMessage
     };
 }
Example #2
0
 public RpcRethrowableException(
     RpcRethrowableExceptionData errorData
     ) : base(errorData.ErrorMessage)
 {
     ErrorData = errorData;
 }