48#include <lal/io/treebank_error_type.hpp>
81 :
m_error_msg(std::forward<std::string>(te.m_error_msg)),
Treebank error report class.
Definition: treebank_error.hpp:64
bool operator==(const treebank_error_type &tet) const noexcept
Compares a treebank error with a treebank error type.
Definition: treebank_error.hpp:100
bool operator!=(const treebank_error_type &tet) const noexcept
Compares a treebank error with a treebank error type.
Definition: treebank_error.hpp:103
treebank_error_type get_error_type() const noexcept
Retrieve the error type.
Definition: treebank_error.hpp:111
const std::string & get_error_message() const noexcept
Retrieve the error message.
Definition: treebank_error.hpp:107
std::string m_error_msg
Error message.
Definition: treebank_error.hpp:116
treebank_error & operator=(const treebank_error &te) noexcept
Copy assignment operator.
Definition: treebank_error.hpp:86
treebank_error(treebank_error &&te) noexcept
Move constructor.
Definition: treebank_error.hpp:80
treebank_error_type m_error_type
Error type.
Definition: treebank_error.hpp:118
treebank_error(const treebank_error &te) noexcept
Copy constructor.
Definition: treebank_error.hpp:75
treebank_error(const std::string &msg, const treebank_error_type &tet) noexcept
Constructor with error message and error type.
Definition: treebank_error.hpp:67
treebank_error_type
Possible errors that can arise while processing a collection.
Definition: treebank_error_type.hpp:62
Main namespace of the library.
Definition: basic_types.hpp:50