coral
A C++ library for distributed co-simulation
List of all members
coral::error::PreconditionViolation Class Reference

An exception which is used to signal that one or more of a function's preconditions were not met. More...

#include "coral/error.hpp"

Inheritance diagram for coral::error::PreconditionViolation:
std::logic_error std::exception

Detailed Description

An exception which is used to signal that one or more of a function's preconditions were not met.

Note that std::invalid_argument should be used to signal problems with function arguments, even though such could also, strictly speaking, be classified as precondition violations.

See also
CORAL_PRECONDITION_CHECK

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