Taskolib  1.3.3
Namespaces | Enumerations | Functions | Variables
internals.h File Reference

Detailed Description

Declaration of internal constants and functions.

Author
Lars Fröhlich, Marcus Walla
Date
Created on August 30, 2022

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 2.1 of the license, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this program. If not, see https://www.gnu.org/licenses/.

#include <string>
#include <utility>
#include <gul14/string_view.h>
Include dependency graph for internals.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 task
 Namespace task contains all Taskolib functions and classes.
 

Enumerations

enum class  task::ErrorCause { task::terminated_by_script , task::aborted , task::uncaught_error }
 An enum detailing the possible causes of the termination of a sequence. More...
 

Functions

void task::check_for_control_characters (gul14::string_view str)
 Throw an exception if the string contains control characters. More...
 
std::pair< std::string, ErrorCause > task::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. More...
 

Variables

const char task::sequence_lua_filename [] = "sequence.lua"
 Define the Lua sequence filename for storing and loading Lua script. More...