Skip to content
Documentation

IHttpFailureFactory Interface

Creates Failure<TValue> instances that represent HTTP response errors.

public interface IHttpFailureFactory

Register the default implementation via UseHttpFailureFactory(this IContainer).

IHttpFailureFactory.CreateNotFound<TResult>(string, string, object) Method

Section titled “IHttpFailureFactory.CreateNotFound<TResult>(string, string, object) Method”

Creates a Failure<TValue> representing a ‘Not Found’ error for a specified resource and identifier.

HAKOM.ErrorHandling.Core.Net.Api.Results.Failure<TResult> CreateNotFound<TResult>(string resource, string identifierType, object identifierValue);

TResult

The type of the result associated with the failure.

resource System.String

The resource that was not found.

identifierType System.String

The type of identifier that was used to locate the resource (name, id, ...).

identifierValue System.Object

The value of the identifier that was not found.

HAKOM.ErrorHandling.Core.Net.Api.Results.Failure<TResult>
A Failure<TValue> representing the ‘Not Found’ error.

© 2026 Volue.Version v0.6.38017 November 2026