PeanutButter
Loading...
Searching...
No Matches
PeanutButter.DuckTyping.Exceptions Namespace Reference

Classes

class  BackingFieldForPropertyNotFoundException
 Exception which is thrown when a type does not contain the expected backing field. More...
class  MethodNotFoundException
 Exception thrown when a forced ducked type does not implement a method that it is expected to implement. More...
class  ParameterCountMismatchException
 Exception thrown when a ducked type has a different number of parameters for a ducked method than the ducked interface expects. More...
class  PropertyNotFoundException
 Exception thrown when an expected property was not found on a ducked type. More...
class  ReadOnlyPropertyException
 Exception thrown when the ducked property is read-only but the interface to duck to expects a read/write property. More...
class  UnDuckableException
 The master exception thrown when a type is not duckable and exceptions have been enabled. More...
class  UnresolveableParameterOrderMismatchException
 Exception thrown when fuzzy ducking is enabled but the duck library cannot resolve the order of parameters to pass into the underlying type, usually because there are repeated types amongst the arguments (ie, two integers or similar) More...
class  WriteOnlyPropertyException
 Exception thrown when a ducking operation expects a read/write property but the object being ducked implements a write-only property. More...