Table of Contents

Namespace Garyon.Exceptions

Classes

AssertionException

An exception that is thrown when an assertion fails.

BadServiceResponseException

An exception that is thrown when a service, external or not, provides a bad response (error or bad data).

ContractException

An exception that is thrown when a contract in the code is not met.

InvalidStateException

An exception that is thrown when the state of an object or operation is corrupted. Usually an assertion failure may lead to throwing this exception.

ThrowHelper

A helper class providing tools for throwing exceptions. It should be preferred to use in code that demands optimization.

ThrowHelper<TException>

A helper class providing tools for throwing exceptions. It should be preferred to use in code that demands optimization.