Taskolib
1.3.3
|
Definition of internal constants and functions.
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 <gul14/cat.h>
#include <gul14/join_split.h>
#include <gul14/replace.h>
#include <gul14/SmallVector.h>
#include "internals.h"
#include "taskolib/exceptions.h"
Namespaces | |
task | |
Namespace task contains all Taskolib functions and classes. | |
Functions | |
std::string | task::beautify_message (gul14::string_view msg) |
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 gul14::string_view | task::abort_marker { u8"\U0001F6D1ABORT\U0001F6D1" } |
A marker string (the word "ABORT" surrounded by Unicode stop signs) whose presence anywhere in an error message signals that the execution of a script should be stopped. More... | |