48#include <lal/io/treebank_file_error_type.hpp>
Treebank file error report class.
Definition treebank_file_error.hpp:64
const std::string & get_error_message() const noexcept
Returns the error message.
Definition treebank_file_error.hpp:123
bool is_error() const noexcept
Returns whether or not this is an actual error.
Definition treebank_file_error.hpp:131
~treebank_file_error()=default
Destructor.
treebank_file_error(const treebank_file_error &te) noexcept
Copy constructor.
Definition treebank_file_error.hpp:82
treebank_file_error_type get_error_type() const noexcept
Returns the error type.
Definition treebank_file_error.hpp:127
std::string m_error_msg
Error message.
Definition treebank_file_error.hpp:136
treebank_file_error_type m_error_type
Error type.
Definition treebank_file_error.hpp:138
bool operator==(const treebank_file_error_type &tet) const noexcept
Compares the treebank error with a treebank error type.
Definition treebank_file_error.hpp:114
bool operator!=(const treebank_file_error_type &tet) const noexcept
Compares the treebank error with a treebank error type.
Definition treebank_file_error.hpp:117
treebank_file_error & operator=(const treebank_file_error &te) noexcept
Copy assignment operator.
Definition treebank_file_error.hpp:96
treebank_file_error() noexcept=default
Default constructor.
treebank_file_error(treebank_file_error &&te) noexcept
Move constructor.
Definition treebank_file_error.hpp:88
treebank_file_error_type
Possible errors that can arise while processing a collection.
Definition treebank_file_error_type.hpp:54
@ no_error
No error occurred.
Main namespace of the library.
Definition basic_types.hpp:48