Skip to content
Documentation

HAKOM.Logging.Core.Net.Api.Exceptions Namespace

Contains exceptions thrown by the logging core module when logging infrastructure cannot be initialized or operated correctly.

All exceptions in this namespace inherit from HakomException and carry unique error codes in the HK050xx range. Each exception specifies an System.Net.HttpStatusCode via the EquivalentHttpStatusCode property so that unhandled exceptions are automatically mapped to an appropriate HTTP response when thrown inside an HTTP request pipeline.

These exceptions are intended to be thrown only by internal code within this module. Consumer code should catch them when setting up logging infrastructure but should not instantiate or throw them directly.

Classes
NoConfigurationRegisteredWithContainerException Thrown when attempting to setup logging based on configured settings, without actually having the required Microsoft.Extensions.Configuration.IConfiguration service registered first.
© 2026 Volue.Version v0.6.38017 November 2026