Table of Contents

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

statusCode HttpStatusCode
message string
details HonuaCoveragesErrorDetails

HonuaCoveragesException(string)

Initializes a new instance of HonuaCoveragesException with a message.

public HonuaCoveragesException(string message)

Parameters

message string

HonuaCoveragesException(string, Exception)

Initializes a new instance of HonuaCoveragesException with a message and inner exception.

public HonuaCoveragesException(string message, Exception innerException)

Parameters

message string
innerException Exception

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

string

ProblemDetails

RFC 7807 problem details synthesized from this failure.

public override HonuaProblemDetails? ProblemDetails { get; }

Property Value

HonuaProblemDetails

ProblemTitle

RFC 7807 problem title, if present.

public string? ProblemTitle { get; }

Property Value

string

ProblemType

RFC 7807 problem type URI, if present.

public string? ProblemType { get; }

Property Value

string

ResponseBody

Raw response body, if available.

public string? ResponseBody { get; }

Property Value

string

StatusCode

HTTP status code returned by the server.

public HttpStatusCode StatusCode { get; }

Property Value

HttpStatusCode