Class UnsupportedConceptValueType

Namespace
Cratis.Json
Assembly
Cratis.Fundamentals.dll

Exception that gets thrown when a JSON number token is read for a ConceptAs<T> whose underlying value type is not one ConceptAsJsonConverter<T> knows how to read from a number.

public class UnsupportedConceptValueType : Exception, ISerializable
Inheritance
UnsupportedConceptValueType
Implements
Inherited Members
Extension Methods

Remarks

Initializes a new instance of the UnsupportedConceptValueType class.

Constructors

UnsupportedConceptValueType(Type)

Exception that gets thrown when a JSON number token is read for a ConceptAs<T> whose underlying value type is not one ConceptAsJsonConverter<T> knows how to read from a number.

public UnsupportedConceptValueType(Type conceptValueType)

Parameters

conceptValueType Type

The underlying concept value Type that could not be read.

Remarks

Initializes a new instance of the UnsupportedConceptValueType class.