25 #ifndef TASKOLIB_INTERNALS_H_
26 #define TASKOLIB_INTERNALS_H_
31 #include <gul14/string_view.h>
Namespace task contains all Taskolib functions and classes.
Definition: CommChannel.h:33
const gul14::string_view abort_marker
A marker string (the word "ABORT" surrounded by Unicode stop signs) whose presence anywhere in an err...
Definition: internals.cc:36
const char sequence_lua_filename[]
Define the Lua sequence filename for storing and loading Lua script.
Definition: internals.h:39
ErrorCause
An enum detailing the possible causes of the termination of a sequence.
Definition: internals.h:36
void check_for_control_characters(gul14::string_view str)
Throw an exception if the string contains control characters.
Definition: internals.cc:47
std::pair< std::string, ErrorCause > remove_abort_markers(gul14::string_view error_message)
Remove abort markers from the given error message, beautify it, and determine the cause of the error.
Definition: internals.cc:56