Class HonuaCoveragesException
- Namespace
- Honua.Sdk.Coverages.Exceptions
- Assembly
- Honua.Sdk.Coverages.dll
Exception thrown when an OGC API Coverages request fails.
public sealed class HonuaCoveragesException : HonuaException, ISerializable
- Inheritance
-
HonuaCoveragesException
- Implements
- Inherited Members
Constructors
HonuaCoveragesException()
Initializes a new instance of HonuaCoveragesException.
public HonuaCoveragesException()
HonuaCoveragesException(HttpStatusCode, string, HonuaCoveragesErrorDetails?)
Initializes a new instance of HonuaCoveragesException with HTTP status and optional details.
public HonuaCoveragesException(HttpStatusCode statusCode, string message, HonuaCoveragesErrorDetails? details = null)
Parameters
statusCodeHttpStatusCodemessagestringdetailsHonuaCoveragesErrorDetails
HonuaCoveragesException(string)
Initializes a new instance of HonuaCoveragesException with a message.
public HonuaCoveragesException(string message)
Parameters
messagestring
HonuaCoveragesException(string, Exception)
Initializes a new instance of HonuaCoveragesException with a message and inner exception.
public HonuaCoveragesException(string message, Exception innerException)
Parameters
Properties
HttpStatus
Normalized HTTP status code for this failure.
public override int? HttpStatus { get; }
Property Value
- int?
ProblemDetail
RFC 7807 problem detail, if present.
public string? ProblemDetail { get; }
Property Value
ProblemDetails
RFC 7807 problem details synthesized from this failure.
public override HonuaProblemDetails? ProblemDetails { get; }
Property Value
ProblemTitle
RFC 7807 problem title, if present.
public string? ProblemTitle { get; }
Property Value
ProblemType
RFC 7807 problem type URI, if present.
public string? ProblemType { get; }
Property Value
ResponseBody
Raw response body, if available.
public string? ResponseBody { get; }
Property Value
StatusCode
HTTP status code returned by the server.
public HttpStatusCode StatusCode { get; }