Class CodecException
The domain exceptions of the codec registry. No public codec member throws a platform exception: argument problems, missing registrations, decoder failures and type mismatches are all reported through this hierarchy, with the offending content type, payload type and event id on every instance.
public abstract class CodecException : Exception, ISerializable
- Inheritance
-
CodecException
- Implements
- Derived
- Inherited Members
Constructors
CodecException(string, string?, Type?, string?, Exception?)
Create a codec failure.
protected CodecException(string message, string? contentType = null, Type? payloadType = null, string? eventId = null, Exception? innerException = null)
Parameters
Properties
ContentType
The datacontenttype involved, when known.
public string? ContentType { get; }
Property Value
EventId
The ce-id of the event involved, when known.
public string? EventId { get; }
Property Value
PayloadType
The payload type requested or registered, when known.
public Type? PayloadType { get; }