Exception thrown when the WML parser fails to read a .pbl file. More...
#include <manager.hpp>
Public Member Functions | |
invalid_pbl_exception (const std::string &pbl_path, const std::string &msg) | |
Constructor. More... | |
virtual | ~invalid_pbl_exception () noexcept |
Destructor. More... | |
virtual const char * | what () const noexcept |
Returns a pointer to the (constant) error description. More... | |
Public Attributes | |
const std::string | path |
Path to the faulty .pbl file. More... | |
const std::string | message |
Error message to display. More... | |
Exception thrown when the WML parser fails to read a .pbl file.
Definition at line 44 of file manager.hpp.
|
inline |
Constructor.
pbl_path | Path to the faulty .pbl file. |
msg | An error message to display. |
Definition at line 52 of file manager.hpp.
|
inlinevirtualnoexcept |
|
inlinevirtualnoexcept |
Returns a pointer to the (constant) error description.
Definition at line 72 of file manager.hpp.
References archive_addon(), available_addons(), get_addon_install_info(), get_addon_pbl_info(), get_addon_version_info(), have_addon_in_vcs_tree(), have_addon_install_info(), have_addon_pbl_info(), installed_addons(), installed_addons_and_versions(), is_addon_installed(), purge_addon(), refresh_addon_version_info_cache(), remove_local_addon(), set_addon_pbl_info(), unarchive_addon(), and write_addon_install_info().
const std::string invalid_pbl_exception::message |
Error message to display.
Definition at line 60 of file manager.hpp.
Referenced by ad_hoc_addon_fetch_session(), and game_config_manager::load_addons_cfg().
const std::string invalid_pbl_exception::path |
Path to the faulty .pbl file.
Definition at line 57 of file manager.hpp.
Referenced by ad_hoc_addon_fetch_session().