Skip to content
Documentation

ParserThrewAnErrorException Class

This exception is thrown when a value from an SQL database (with Select or TrySelect) could not be parsed to the desired object.

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

Inheritance System.Object 🡒 System.Exception 🡒 HakomException 🡒 ParserThrewAnErrorException

When using any overload of Select<TResult>(string, Func<TReader,Task<TResult>>, CancellationToken) or TrySelect<TResult>(string, Func<TReader,Task<TResult>>, bool, CancellationToken) and the given parser throws an exception this exception is thrown as a wrapper exception with the exception of the parser as inner exception.

This exception is identified by error code HK12032.

ParserThrewAnErrorException.EquivalentHttpStatusCode Property

Section titled “ParserThrewAnErrorException.EquivalentHttpStatusCode Property”

When unhandled within an HTTP request, this exception produces HTTP 500 (Internal Server Error).

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

System.Net.HttpStatusCode

© 2026 Volue.Version v0.6.38017 November 2026