FlightGear next
flightgear::addons::errors::error Class Reference

#include <exceptions.hxx>

Inherits sg_exception.

Inherited by flightgear::addons::errors::duplicate_registration_attempt, flightgear::addons::errors::error_loading_config_file, flightgear::addons::errors::error_loading_menubar_items_file, flightgear::addons::errors::error_loading_metadata_file, flightgear::addons::errors::fg_version_too_old, flightgear::addons::errors::fg_version_too_recent, flightgear::addons::errors::invalid_resource_path, flightgear::addons::errors::no_metadata_file_found, and flightgear::addons::errors::unable_to_create_addon_storage_dir.

Public Member Functions

 error (const std::string &message, const std::string &origin=std::string())
 
 error (const char *message, const char *origin=nullptr)
 

Detailed Description

Definition at line 36 of file exceptions.hxx.

Constructor & Destructor Documentation

◆ error() [1/2]

flightgear::addons::errors::error::error ( const std::string & message,
const std::string & origin = std::string() )
explicit

◆ error() [2/2]

flightgear::addons::errors::error::error ( const char * message,
const char * origin = nullptr )
explicit

Definition at line 47 of file exceptions.cxx.


The documentation for this class was generated from the following files: