Initial Commit
This commit is contained in:
parent
53eb92e9af
commit
270ab7d11f
15341 changed files with 700234 additions and 0 deletions
|
@ -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; }
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue