ConfigException

Exception to indicate that something went wrong with the contents of configuration files. More...

#include <unity/scopes/ScopeExceptions.h>

Inheritance diagram for unity::scopes::ConfigException:
Inheritance graph
[legend]

Public Member Functions

 ConfigException (std::string const &reason)
 Constructs the exception. More...
 
virtual std::exception_ptr self () const override
 Returns a std::exception_ptr to this. More...
 
Copy and assignment

Copy constructor and assignment operator have the usual value semantics.

 ConfigException (ConfigException const &)
 
ConfigExceptionoperator= (ConfigException const &)
 

Detailed Description

Exception to indicate that something went wrong with the contents of configuration files.

Constructor & Destructor Documentation

unity::scopes::ConfigException::ConfigException ( std::string const &  reason)
explicit

Constructs the exception.

Parameters
reasonFurther details about the cause of the exception.

Member Function Documentation

exception_ptr unity::scopes::ConfigException::self ( ) const
overridevirtual

Returns a std::exception_ptr to this.

Returns
std::exception_ptr to this.