Class HonuaProcessesException
- Namespace
- Honua.Sdk.Processes.Exceptions
- Assembly
- Honua.Sdk.Processes.dll
Exception thrown when an OGC API Processes request fails.
public sealed class HonuaProcessesException : HonuaException, ISerializable
- Inheritance
-
HonuaProcessesException
- Implements
- Inherited Members
Constructors
HonuaProcessesException()
Initializes a new instance of the HonuaProcessesException class.
public HonuaProcessesException()
HonuaProcessesException(HttpStatusCode, string, string?, Exception)
Initializes a new instance of the HonuaProcessesException class with an inner exception.
public HonuaProcessesException(HttpStatusCode statusCode, string message, string? responseBody, Exception innerException)
Parameters
statusCodeHttpStatusCodemessagestringresponseBodystringinnerExceptionException
HonuaProcessesException(HttpStatusCode, string, string?, string?, string?, string?)
Initializes a new instance of the HonuaProcessesException class.
public HonuaProcessesException(HttpStatusCode statusCode, string message, string? responseBody = null, string? problemType = null, string? problemTitle = null, string? problemDetail = null)
Parameters
statusCodeHttpStatusCodemessagestringresponseBodystringproblemTypestringproblemTitlestringproblemDetailstring
HonuaProcessesException(string)
Initializes a new instance of the HonuaProcessesException class.
public HonuaProcessesException(string message)
Parameters
messagestring
HonuaProcessesException(string, Exception)
Initializes a new instance of the HonuaProcessesException class with an inner exception.
public HonuaProcessesException(string message, Exception innerException)
Parameters
Properties
HttpStatus
The HTTP status code associated with the failure, normalized to an int, or null for non-HTTP transports (e.g. gRPC) or failures with no status. Lets callers branch on status uniformly without downcasting to a per-protocol exception type.
public override int? HttpStatus { get; }
Property Value
- int?
JobId
Job identifier, when a bounded execution or wait has observed a job before failing.
public string? JobId { get; }
Property Value
ProblemDetail
Problem detail, if supplied by the server.
public string? ProblemDetail { get; }
Property Value
ProblemDetails
The RFC 7807 problem document the server returned, or null; protocol-specific detail lives on derived types.
public override HonuaProblemDetails? ProblemDetails { get; }
Property Value
ProblemTitle
Problem title, if supplied by the server.
public string? ProblemTitle { get; }
Property Value
ProblemType
Problem type URI, if supplied by the server.
public string? ProblemType { get; }
Property Value
ResponseBody
Raw response body.
public string? ResponseBody { get; }
Property Value
StatusCode
HTTP status code returned by the server.
public HttpStatusCode StatusCode { get; }