This commit is contained in:
2021-06-13 10:28:03 +02:00
parent eb70603c85
commit df2d24cbd3
7487 changed files with 943244 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
using System;
namespace Unity.Cloud.Collaborate.Models.Structures
{
internal struct ErrorInfo : IErrorInfo
{
public ErrorInfo(int code = default, int priority = default, int behaviour = default, string message = default, string shortMessage = default, string codeString = default)
{
Code = code;
Priority = (ErrorInfoPriority)priority;
Behaviour = (ErrorInfoBehavior)behaviour;
Message = message;
ShortMessage = shortMessage;
CodeString = codeString;
}
public int Code { get; }
public ErrorInfoPriority Priority { get; }
public ErrorInfoBehavior Behaviour { get; }
public string Message { get; }
public string ShortMessage { get; }
public string CodeString { get; }
}
}