Class ErrorOutput
- Namespace
- XeroxDev.YTMDesktop.Companion.Models.Output
- Assembly
- XeroxDev.YTMDesktop.Companion.dll
This class is used to represent the error output of the API.
public class ErrorOutput
- Inheritance
-
ErrorOutput
- Inherited Members
Properties
Code
An error code with specific information about the error (e.g. AUTHORIZATION_DISABLED)
It is not always available.
[JsonProperty("code")]
public string Code { get; set; }
Property Value
Error
The error message title. (e.g. Forbidden)
[JsonProperty("error")]
public string Error { get; set; }
Property Value
Message
The error message. (e.g. Authorization requests are disabled)
[JsonProperty("message")]
public string Message { get; set; }
Property Value
StatusCode
The status code of the error. (e.g. 403)
[JsonProperty("statusCode")]
public int? StatusCode { get; set; }
Property Value
- int?
Methods
ToString()
Returns a string that represents the current object.
public override string ToString()