Skip to content
Documentation

UnitNotFoundException Class

Indicates that an attempt was made to interact with a unit that is not defined in the given store.

public sealed class UnitNotFoundException : HAKOM.ErrorHandling.Core.Net.Api.HakomException

Inheritance System.Object 🡒 System.Exception 🡒 HakomException 🡒 UnitNotFoundException

Make sure that the correct store is being accessed or define the unit in the current store by calling Save(IUnit, CancellationToken) or a similar overload.

This exception is identified by error code HK15071.

UnitNotFoundException.EquivalentHttpStatusCode Property

Section titled “UnitNotFoundException.EquivalentHttpStatusCode Property”

When unhandled within an HTTP request, this exception produces HTTP 404 (Not Found).

protected override System.Net.HttpStatusCode EquivalentHttpStatusCode { protected get; }

System.Net.HttpStatusCode

© 2026 Volue.Version v0.6.38017 November 2026