Namespace Honua.Sdk.Abstractions
Classes
- HonuaClientOptionsBase
Shared base for Honua SDK client options classes. Centralizes the common transport configuration surface — BaseAddress, Timeout, EnableRetry, MaxRetryAttempts and PrimaryHttpMessageHandlerFactory — together with its defaults and the MaxRetryAttempts range check, so the protocol packages no longer re-declare this surface in lockstep. Shared base-address and timeout validation lives in Honua.Sdk.Abstractions.HonuaClientOptionsValidation.
- HonuaConfigurationException
Thrown when SDK options fail validation at registration time (missing
BaseAddress, out-of-rangeTimeout, invalid scheme, or similar configuration errors). Derives from HonuaException so a singlecatch (HonuaException)handles both configuration and runtime failures uniformly.
- HonuaException
Base type for every exception thrown by an official
Honua.Sdk.*client. Callers can write a singlecatch (HonuaException)to handle any SDK failure uniformly without having to enumerate per-protocol exception types (HonuaGrpcException,HonuaAdminApiException,HonuaStacException, etc., all derive from this class).
- HonuaFailureReceipt
A protocol-preserving, machine-actionable terminal failure receipt.
- HonuaFailureReceiptFactory
Creates normalized receipts at HTTP and gRPC terminal boundaries.
- HonuaFieldFailure
One field- or item-addressable server failure.
- HonuaPathSegment
Encodes one URI path segment and rejects values that HTTP dot-segment removal would collapse.
- HonuaProblemDetails
Normalized RFC 7807 (
application/problem+json) problem document, used as the single problem-details model across everyHonua.Sdk.*REST client and surfaced uniformly via ProblemDetails.
- HonuaProblemDetailsParser
Shared parser for RFC 7807 problem-details bodies. Replaces the per-client reimplementations so every REST client extracts
type/title/detail/status/instanceidentically and via source-generated JSON.
- HonuaProtocolMetadata
Safe protocol metadata retained separately for response headers and trailers.
- HonuaTransportException
Exception raised when a REST request fails before an HTTP response is available.
Interfaces
- IHonuaClientOptions
Common shape implemented by every Honua SDK client options class. Centralizes the cross-package contract for BaseAddress, Timeout, EnableRetry, MaxRetryAttempts, and the optional PrimaryHttpMessageHandlerFactory hook so consumers (and code-review tools) can rely on a single contract across all REST and gRPC packages.
Enums
- HonuaFailureKind
Normalized machine failure classes shared by every official transport.