ArkScript
A small, fast, functional and scripting language for video games
Ark::NestedError Class Referencefinal

#include <Exceptions.hpp>

Inheritance diagram for Ark::NestedError:
[legend]
Collaboration diagram for Ark::NestedError:
[legend]

Public Member Functions

 NestedError (const Error &e, const std::string &details)
 
 NestedError (const std::exception &e, const std::string &details)
 
const char * what () const noexcept override
 
- Public Member Functions inherited from Ark::Error
 Error (const std::string &message)
 
virtual std::string details (bool colorize) const
 

Private Attributes

std::string m_details
 

Detailed Description

Definition at line 69 of file Exceptions.hpp.

Constructor & Destructor Documentation

◆ NestedError() [1/2]

Ark::NestedError::NestedError ( const Error & e,
const std::string & details )
inline

Definition at line 72 of file Exceptions.hpp.

◆ NestedError() [2/2]

Ark::NestedError::NestedError ( const std::exception & e,
const std::string & details )
inline

Definition at line 81 of file Exceptions.hpp.

Member Function Documentation

◆ what()

const char * Ark::NestedError::what ( ) const
inlinenodiscardoverridenoexcept

Definition at line 90 of file Exceptions.hpp.

Member Data Documentation

◆ m_details

std::string Ark::NestedError::m_details
private

Definition at line 96 of file Exceptions.hpp.


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