Skip to content
Documentation

HAKOM.Logging.HakomDatabaseLog.Net.Api.Exceptions Namespace

Contains exceptions thrown when database logging cannot be configured 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 so that unhandled exceptions are automatically mapped to an appropriate HTTP response when thrown inside an HTTP request pipeline.

The following exceptions are defined:

Classes
CannotLogToSpecifiedRepositoryException Thrown when the repository to log to is not defined in the available configuration.
NoRepositoryConfiguredException Thrown when there is no repository configured for the logger to log to.
RepositoryConfigurationRequiredForDatabaseLogException Thrown when there is no Persistence:Repositories section in the available configuration.
UnknownLogLevelException Thrown when an attempt is made to log using a log level that is unknown.
© 2026 Volue.Version v0.6.38017 November 2026