ContractViolation Class Reference
|
Space-ng SDK
|
sol3::log::ContractViolation Class Reference
#include <sol3/log/except.h>
Inheritance diagram for sol3::log::ContractViolation:
Public Member Functions | |
| ContractViolation (std::string const &message, char const *file_name, int line_number, char const *function_name, boost::stacktrace::stacktrace stacktrace=boost::stacktrace::stacktrace{}) | |
Public Member Functions inherited from sol3::log::ExceptionBase | |
| ExceptionBase (std::string const &short_message, char const *file_name, int line_number, char const *function_name, boost::stacktrace::stacktrace stacktrace=boost::stacktrace::stacktrace{}) | |
Additional Inherited Members | |
Public Attributes inherited from sol3::log::ExceptionBase | |
| std::string | short_message |
| boost::stacktrace::stacktrace | stacktrace |
| char const * | file_name |
| int | line_number |
| char const * | function_name |
Detailed Description
Thrown when a precondition/postcondition is violated. This prints stacktrace and the message to the default logger on construction. These exceptions typically require stopping the component that has thrown, and indicates a programming bug. The log messages should not be ignored in a production system.
Constructor & Destructor Documentation
◆ ContractViolation()
|
explicit |
The documentation for this class was generated from the following file:
- /workspaces/astro/sol3-sdk/cpp/sol3/log/except.h
Generated by
Public Member Functions inherited from