Atlas Game Manager
A game manager for f95 and dlsite written in c++
Loading...
Searching...
No Matches
atlas::exceptions::AtlasException Struct Reference

#include <exceptions.hpp>

Inheritance diagram for atlas::exceptions::AtlasException:
ImageManagerException atlas::exceptions::DatabaseException atlas::exceptions::ImportException atlas::exceptions::RecordException atlas::exceptions::SettingsException atlas::records::RecordException ImageImportError ImageLoadError ImageSaveError atlas::exceptions::DatabaseRowMismatch atlas::exceptions::TransactionInvalid atlas::exceptions::NoExecutablesFound atlas::exceptions::VersionConflict atlas::records::InvalidRecordID atlas::records::RecordAlreadyExists

Public Member Functions

virtual const char * what () const noexcept override
 
const char * whatRaw () const noexcept
 Returns the what() message without any source location info.
 
 AtlasException (const char *const msg, const std::source_location loc=std::source_location::current())
 
 AtlasException (const std::string msg, const std::source_location loc=std::source_location::current())
 

Public Attributes

std::source_location sloc
 
std::string what_text
 

Constructor & Destructor Documentation

◆ AtlasException() [1/2]

atlas::exceptions::AtlasException::AtlasException ( const char *const msg,
const std::source_location loc = std::source_location::current() )
inline

◆ AtlasException() [2/2]

atlas::exceptions::AtlasException::AtlasException ( const std::string msg,
const std::source_location loc = std::source_location::current() )
inline

Member Function Documentation

◆ what()

virtual const char * atlas::exceptions::AtlasException::what ( ) const
inlineoverridevirtualnoexcept

◆ whatRaw()

const char * atlas::exceptions::AtlasException::whatRaw ( ) const
inlinenoexcept

Returns the what() message without any source location info.

Member Data Documentation

◆ sloc

std::source_location atlas::exceptions::AtlasException::sloc

◆ what_text

std::string atlas::exceptions::AtlasException::what_text

The documentation for this struct was generated from the following file: