General Definitions

Inheritance diagram of hermespy.core.definitions.ConsoleMode, hermespy.core.definitions.Verbosity

This file contains several definitions that are used throughout the HermesPy API.

class ConsoleMode(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)[source]

Bases: SerializableEnum

Printing behaviour of the simulation during runtime

INTERACTIVE = 0[source]

Interactive refreshing of the shell information

LINEAR = 1[source]

Linear appending of the shell information

SILENT = 2[source]

No prints exept errors

class Verbosity(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)[source]

Bases: SerializableEnum

Information output behaviour configuration of an executable

ALL = 0[source]

Print absolutely everything

ERROR = 3[source]

Print only errors

INFO = 1[source]

Print general information

NONE = 4[source]

Print absolutely nothing

WARNING = 2[source]

Print only warnings and errors

class FloatingError[source]

Bases: RuntimeError

Exception raised if an operation fails due to a currently being considered floating.