MultipleResultsException Class

Summary

An exception indicating that the sequence
Namespace
FunctionalSharp.DiscriminatedUnions.Exceptions
Interfaces
  • ISerializable
  • _Exception
Base Types
  • object
  • Exception
graph TD Base0["Exception"]-->Type Base1["object"]-->Base0 Interface0["ISerializable"]-.->Type Interface1["_Exception"]-.->Type Type["MultipleResultsException"] class Type type-node

Syntax

[Serializable]
public class MultipleResultsException : Exception, ISerializable, _Exception

Attributes

Type Description
SerializableAttribute

Constructors

Name Summary
MultipleResultsException() Creates a new MultipleResultsException with the default message.
MultipleResultsException(string) Creates a new MultipleResultsException with aditional information in the message.

Extension Methods

Name Value Summary
Match<MultipleResultsException>() PatternMatchSingleContext<T>
Starts a pattern match for a single value. Subsequent calls to With() need to be used to specify conditions
ToOption<MultipleResultsException>() IOption<T>
Turns the type T into an option type.