Class MdocProcessingException
A structural failure while processing an mdoc: malformed CBOR, a missing required element or an invalid COSE structure. Carries a stable error code for Code.
public sealed class MdocProcessingException : Exception, ISerializable
- Inheritance
-
MdocProcessingException
- Implements
- Inherited Members
Constructors
MdocProcessingException(string, string)
Creates the exception.
public MdocProcessingException(string code, string message)
Parameters
Remarks
The message is made one line by the library's one rule for messages it hands a caller, because it can quote values from the presented mdoc and a caller may log it as it stands.
Properties
Code
Stable error code (see MdocErrorCodes).
public string Code { get; }