General Definitions¶

This file contains several definitions that are used throughout the HermesPy API.
- class ConsoleMode(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]¶
Bases:
SerializableEnum
Printing behaviour of the simulation during runtime
- INTERACTIVE = 0¶
Interactive refreshing of the shell information
- LINEAR = 1¶
Linear appending of the shell information
- SILENT = 2¶
No prints exept errors
- class Verbosity(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]¶
Bases:
SerializableEnum
Information output behaviour configuration of an executable
- ALL = 0¶
Print absolutely everything
- ERROR = 3¶
Print only errors
- INFO = 1¶
Print general information
- NONE = 4¶
Print absolutely nothing
- WARNING = 2¶
Print only warnings and errors
- class FloatingError[source]¶
Bases:
RuntimeError
Exception raised if an operation fails due to a currently being considered floating.