Class HegelException
- Namespace
- Hegel
- Assembly
- Hegel.dll
Thrown for engine, configuration and binding errors: anything that is not a property failure.
A failing property rethrows the test body's own exception, so it integrates with any test framework; this exception signals that something went wrong with Hegel itself (a missing engine library, an internal engine error). HegelRunException and its subtypes are raised when the engine aborts a run (a failed health check, a flaky or unsatisfiable test), and DidNotReproduceException when no replayed failure blob fails.
public class HegelException : Exception, ISerializable
- Inheritance
-
HegelException
- Implements
- Derived
- Inherited Members
Constructors
HegelException(string)
Create an exception with a message.
public HegelException(string message)
Parameters
messagestring
HegelException(string, Exception)
Create an exception with a message and a cause.
public HegelException(string message, Exception innerException)