Class UnwrapException
- Namespace
- Rascal
- Assembly
- Rascal.dll
The exception thrown when a Result<T> is attempted to be unwrapped but is an error.
public sealed class UnwrapException : Exception, ISerializable
- Inheritance
-
UnwrapException
- Implements
- Inherited Members
- Extension Methods
Constructors
UnwrapException()
Creates a new UnwrapException.
public UnwrapException()
UnwrapException(string)
Creates a new UnwrapException.
public UnwrapException(string error)
Parameters
error
stringAn error message.