PeanutButter
Loading...
Searching...
No Matches
PeanutButter.DuckTyping.Exceptions.UnDuckableException Class Reference

The master exception thrown when a type is not duckable and exceptions have been enabled. More...

Inheritance diagram for PeanutButter.DuckTyping.Exceptions.UnDuckableException:

Public Member Functions

 UnDuckableException (params string[] errors)
 Constructs an instance of the exception.

Properties

IEnumerable< string > Errors [get]
 Collection of errors encountered whilst attempting the requested ducking operation.

Detailed Description

The master exception thrown when a type is not duckable and exceptions have been enabled.

Constructor & Destructor Documentation

◆ UnDuckableException()

PeanutButter.DuckTyping.Exceptions.UnDuckableException.UnDuckableException ( params string[] errors)

Constructs an instance of the exception.

Parameters
errorsErrors to store about the duck failure

The documentation for this class was generated from the following file:
  • source/Utils/PeanutButter.DuckTyping/Exceptions/UnDuckableException.cs