Class JiraException
This wraps the HttpRequestException with Jira specific informationen
Inheritance
System.Object
System.Exception
System.Net.Http.HttpRequestException
JiraException
Inherited Members
System.Exception.GetBaseException()
System.Exception.ToString()
System.Exception.Data
System.Exception.HelpLink
System.Exception.HResult
System.Exception.InnerException
System.Exception.Message
System.Exception.Source
System.Exception.StackTrace
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace:Dapplo.Jira
Assembly:Dapplo.Jira.dll
Syntax
public class JiraException : HttpRequestException
Constructors
| Improve this Doc View SourceJiraException(HttpStatusCode, Error)
Constructor with a HttpStatus code and an Error object
Declaration
public JiraException(HttpStatusCode httpStatusCode, Error error = null)
Parameters
Type | Name | Description |
---|---|---|
System.Net.HttpStatusCode | httpStatusCode | HttpStatusCode |
Error | error | Error |
JiraException(HttpStatusCode, String)
Constructor with a HttpStatus code and an error response
Declaration
public JiraException(HttpStatusCode httpStatusCode, string response)
Parameters
Type | Name | Description |
---|---|---|
System.Net.HttpStatusCode | httpStatusCode | HttpStatusCode |
System.String | response | string with the error response message |
Properties
| Improve this Doc View SourceErrorMessages
Get the error messages
Declaration
public IEnumerable<string> ErrorMessages { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.String> |
Errors
Get the errors
Declaration
public IReadOnlyDictionary<string, string> Errors { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IReadOnlyDictionary<System.String, System.String> |