soar.errors¶
Soar error classes.
-
exception
soar.errors.
GUIError
¶ Bases:
soar.errors.SoarError
Raised when an error occurs while drawing the world or one of its objects.
-
exception
soar.errors.
LoggingError
¶ Bases:
soar.errors.SoarError
Raised when an error occurs writing to a log file. Typically, these are ignored and merely printed.
-
exception
soar.errors.
SoarError
¶ Bases:
Exception
An umbrella class for Soar exceptions.
This is raised by the client if it encounters an error it cannot handle, such as an exception that occurs in headless mode.
-
exception
soar.errors.
SoarIOError
¶ Bases:
soar.errors.SoarError
Raised whenever an error occurs communicating with a real robot.
Typically, this is raised within the robot class when a connection could not be established, timed out, or invalid data that cannot be dealt with was received.
-
soar.errors.
printerr
(*args, **kwargs)¶ A wrapper around
print
to print tosys.stderr
.