Example #1
0
 public ErrorMessage(ErrorDescription error)
 {
     Error = error;
 }
Example #2
0
        [ProtoIgnore] public bool IsSuccess => GetErrorCode() == (int)CatapultStatusCode.Ok; // TODO: Verify

        public ErrorMessage()
        {
            Error = new ErrorDescription {
                ErrorCode = 0, Message = null
            };
        }