Class ApiError<TStatusCode>
Defines the standard response for all errors.
Inheritance
System.Object
ApiError<TStatusCode>
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Celerik.NetCore.Services
Assembly: cs.temp.dll.dll
Syntax
public class ApiError<TStatusCode>
where TStatusCode : struct, IConvertible
Type Parameters
| Name | Description |
|---|---|
| TStatusCode | Type of the StatusCode property. |
Properties
Message
A localized string describing the error.
Declaration
public string Message { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
StatusCode
The status code related to this error (enumeration).
Declaration
public TStatusCode StatusCode { get; set; }
Property Value
| Type | Description |
|---|---|
| TStatusCode |