Table of Contents

Class HonuaSceneException

Namespace
Honua.Sdk.Scenes.Exceptions
Assembly
Honua.Sdk.Scenes.dll

Exception thrown when a scene metadata or package contract operation fails.

public sealed class HonuaSceneException : HonuaException, ISerializable
Inheritance
HonuaSceneException
Implements
Inherited Members

Constructors

HonuaSceneException()

Initializes a new instance of the HonuaSceneException class.

public HonuaSceneException()

HonuaSceneException(HttpStatusCode, string, string?)

Initializes a new instance of the HonuaSceneException class.

public HonuaSceneException(HttpStatusCode statusCode, string message, string? responseBody = null)

Parameters

statusCode HttpStatusCode

HTTP status code returned by the server.

message string

A human-readable error message.

responseBody string

The raw response body, if available.

HonuaSceneException(HttpStatusCode, string, string?, Exception)

Initializes a new instance of the HonuaSceneException class with an inner exception.

public HonuaSceneException(HttpStatusCode statusCode, string message, string? responseBody, Exception innerException)

Parameters

statusCode HttpStatusCode

HTTP status code returned by the server.

message string

A human-readable error message.

responseBody string

The raw response body, if available.

innerException Exception

The inner exception that caused this exception.

HonuaSceneException(string)

Initializes a new instance of the HonuaSceneException class.

public HonuaSceneException(string message)

Parameters

message string

A human-readable error message.

HonuaSceneException(string, Exception)

Initializes a new instance of the HonuaSceneException class with an inner exception.

public HonuaSceneException(string message, Exception innerException)

Parameters

message string

A human-readable error message.

innerException Exception

The inner exception that caused this exception.

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?

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

HonuaProblemDetails

ResponseBody

The 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