Class UnwrapFailedException
Exception thrown when Unwrap<T>(Result<T>) or Unwrap<T>(Maybe<T>) is called on a failure/none value. Provides a descriptive message including the error details for test diagnostics.
public sealed class UnwrapFailedException : Exception, ISerializable
- Inheritance
-
UnwrapFailedException
- Implements
- Inherited Members
- Extension Methods
Constructors
UnwrapFailedException()
Initializes a new instance of the UnwrapFailedException class.
public UnwrapFailedException()
UnwrapFailedException(string)
Initializes a new instance of the UnwrapFailedException class.
public UnwrapFailedException(string message)
Parameters
messagestringThe descriptive error message.
UnwrapFailedException(string, Exception)
Initializes a new instance of the UnwrapFailedException class.
public UnwrapFailedException(string message, Exception innerException)