ConstantUnitConversionNotFoundException Class
HAKOM.TSM.Net.Api.Units.Persistence.Exceptions
Section titled “HAKOM.TSM.Net.Api.Units.Persistence.Exceptions”Indicates that an attempt was made to interact with a constant unit conversion that is not defined in the given store.
public sealed class ConstantUnitConversionNotFoundException : HAKOM.ErrorHandling.Core.Net.Api.HakomExceptionInheritance System.Object 🡒 System.Exception 🡒 HakomException 🡒 ConstantUnitConversionNotFoundException
Remarks
Section titled “Remarks”Make sure that the correct store is being accessed or define the unit in the current store by calling Save(IConstantUnitConversion, CancellationToken) or a similar overload.
This exception is identified by error code HK15106.
Properties
Section titled “Properties”ConstantUnitConversionNotFoundException.EquivalentHttpStatusCode Property
Section titled “ConstantUnitConversionNotFoundException.EquivalentHttpStatusCode Property”When unhandled within an HTTP request, this exception produces HTTP 404 (Not Found).
protected override System.Net.HttpStatusCode EquivalentHttpStatusCode { protected get; }Property Value
Section titled “Property Value”Was this page helpful?Thanks for your feedback!