Hegel 0.18.2
Property-based testing for C++
Loading...
Searching...
No Matches
hegel::RunError Class Reference

The engine stopped the run without a verdict on the property. More...

#include <errors.h>

Inheritance diagram for hegel::RunError:
hegel::FailedHealthCheck hegel::Flaky hegel::Unsatisfiable

Public Member Functions

 RunError (const std::string &message)

Detailed Description

The engine stopped the run without a verdict on the property.

hegel::test() throws a RunError, or one of its subclasses, when the run itself fails rather than the test: a failed health check (FailedHealthCheck), nondeterminism under NondeterminismStrictness::Error (Flaky), too few valid test cases (Unsatisfiable), or another engine error. The message says which.

Constructor & Destructor Documentation

◆ RunError()

hegel::RunError::RunError ( const std::string & message)
inlineexplicit
Parameters
messageThe engine's diagnostic.

The documentation for this class was generated from the following file: