NoRepositoryConfiguredException Class
HAKOM.Logging.HakomDatabaseLog.Net.Api.Exceptions
Section titled “HAKOM.Logging.HakomDatabaseLog.Net.Api.Exceptions”Thrown when there is no repository configured for the logger to log to.
public sealed class NoRepositoryConfiguredException : HAKOM.ErrorHandling.Core.Net.Api.HakomExceptionInheritance System.Object 🡒 System.Exception 🡒 HakomException 🡒 NoRepositoryConfiguredException
Remarks
Section titled “Remarks”Configuration of database logging requires a “Repository” setting (see Repository). If this setting is missing or empty, the logger does not know what repository to log to.
Make sure to set the “Repository” to a value that corresponds to the name of a configured repository in order to fix this error.
This exception is identified by error code HK05006.
Properties
Section titled “Properties”NoRepositoryConfiguredException.EquivalentHttpStatusCode Property
Section titled “NoRepositoryConfiguredException.EquivalentHttpStatusCode Property”When this exception is thrown inside an HTTP request, the request should return a response with HTTP status code 500 (Internal server error).
protected override System.Net.HttpStatusCode EquivalentHttpStatusCode { protected get; }Property Value
Section titled “Property Value”Was this page helpful?Thanks for your feedback!