Class ServiceError
Represents an error returned by a service.
Inherited Members
Namespace: Unity.Cloud.Common
Syntax
[Serializable]
public class ServiceError
Properties
ErrorCode
The error code.
Declaration
public ServiceError.Code ErrorCode { get; set; }
Property Value
Type | Description |
---|---|
ServiceError.Code |
HttpStatusCode
The HTTP status code.
Declaration
public HttpStatusCode? HttpStatusCode { get; set; }
Property Value
Type | Description |
---|---|
Nullable<HttpStatusCode> |
IsAuthError
Returns true if it's an authentication error.
Declaration
public bool IsAuthError { get; }
Property Value
Type | Description |
---|---|
Boolean |
IsLicensingError
Returns true if it's a licensing error.
Declaration
public bool IsLicensingError { get; }
Property Value
Type | Description |
---|---|
Boolean |
Message
The error message.
Declaration
public string Message { get; set; }
Property Value
Type | Description |
---|---|
String |