MaybeNoneException
Namespace: Bogoware.Monads
Thrown when attempting to instantiate a Maybe<TValue> from an empty value.
public class MaybeNoneException : System.ArgumentNullException, System.Runtime.Serialization.ISerializable
Inheritance Object → Exception → SystemException → ArgumentException → ArgumentNullException → MaybeNoneException
Implements ISerializable
Attributes NullableContextAttribute, NullableAttribute
Properties
Message
public string Message { get; }
Property Value
ParamName
public string ParamName { get; }
Property Value
TargetSite
public MethodBase TargetSite { get; }
Property Value
Data
public IDictionary Data { get; }
Property Value
InnerException
public Exception InnerException { get; }
Property Value
HelpLink
public string HelpLink { get; set; }
Property Value
Source
public string Source { get; set; }
Property Value
HResult
public int HResult { get; set; }
Property Value
StackTrace
public string StackTrace { get; }
Property Value
Constructors
MaybeNoneException()
public MaybeNoneException()
MaybeNoneException(Exception)
public MaybeNoneException(Exception inner)
Parameters
inner Exception
Events
SerializeObjectState
Caution
BinaryFormatter serialization is obsolete and should not be used. See https://aka.ms/binaryformatter for more information.
protected event EventHandler<SafeSerializationEventArgs> SerializeObjectState;