48#include <lal/io/treebank_error_type.hpp>
82 :
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:104
treebank_error_type get_error_type() const noexcept
Retrieve the error type.
Definition treebank_error.hpp:112
const std::string & get_error_message() const noexcept
Retrieve the error message.
Definition treebank_error.hpp:108
std::string m_error_msg
Error message.
Definition treebank_error.hpp:117
treebank_error & operator=(const treebank_error &te) noexcept
Copy assignment operator.
Definition treebank_error.hpp:88
treebank_error(treebank_error &&te) noexcept
Move constructor.
Definition treebank_error.hpp:81
treebank_error_type m_error_type
Error type.
Definition treebank_error.hpp:119
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:57
Main namespace of the library.
Definition definitions.hpp:48