Class WalletResponseException
- Namespace
- Tessio.Verifier.OpenId4Vp
- Assembly
- Tessio.Verifier.OpenId4Vp.dll
Thrown when a wallet response cannot be parsed into presented credentials.
public sealed class WalletResponseException : Exception, ISerializable
- Inheritance
-
WalletResponseException
- Implements
- Inherited Members
Remarks
The message is made one line here, by the library's one rule for messages it hands a caller (OneLine(string)), because a message can quote what the response's sender wrote and a caller may log it as it stands. Here rather than at each message site, so a new site cannot forget it.
The rule covers this exception's own message, not an InnerException: that is the underlying library's exception, and its text is that library's. A caller logging the whole exception rather than its message should make the line safe itself, as this library's own log lines do.
Constructors
WalletResponseException(string)
Creates the exception.
public WalletResponseException(string message)
Parameters
messagestring
WalletResponseException(string, Exception)
Creates the exception with an inner cause.
public WalletResponseException(string message, Exception innerException)