glucat 0.12.0
Public Member Functions | List of all members
glucat::error< Class_T > Class Template Reference

Specific exception class. More...

#include <errors.h>

Inheritance diagram for glucat::error< Class_T >:
Inheritance graph
[legend]
Collaboration diagram for glucat::error< Class_T >:
Collaboration graph
[legend]

Public Member Functions

 error (const std::string &msg)
 Specific exception class.
 
 error (const std::string &context, const std::string &msg)
 
auto heading () const noexcept -> const std::string override
 
auto classname () const noexcept -> const std::string override
 
void print_error_msg () const override
 
- Public Member Functions inherited from glucat::glucat_error
 glucat_error (const std::string &context, const std::string &msg)
 
 ~glucat_error () noexcept override=default
 
virtual auto heading () const noexcept -> const std::string=0
 
virtual auto classname () const noexcept -> const std::string=0
 
virtual void print_error_msg () const =0
 

Additional Inherited Members

- Public Attributes inherited from glucat::glucat_error
std::string name
 

Detailed Description

template<class Class_T>
class glucat::error< Class_T >

Specific exception class.

Definition at line 56 of file errors.h.

Constructor & Destructor Documentation

◆ error() [1/2]

template<class Class_T >
glucat::error< Class_T >::error ( const std::string &  msg)

Specific exception class.

Definition at line 44 of file errors_imp.h.

◆ error() [2/2]

template<class Class_T >
glucat::error< Class_T >::error ( const std::string &  context,
const std::string &  msg 
)

Definition at line 50 of file errors_imp.h.

Member Function Documentation

◆ classname()

template<class Class_T >
auto glucat::error< Class_T >::classname
overridevirtualnoexcept

Implements glucat::glucat_error.

Definition at line 63 of file errors_imp.h.

◆ heading()

template<class Class_T >
auto glucat::error< Class_T >::heading
overridevirtualnoexcept

Implements glucat::glucat_error.

Definition at line 57 of file errors_imp.h.

◆ print_error_msg()

template<class Class_T >
void glucat::error< Class_T >::print_error_msg
overridevirtual

Implements glucat::glucat_error.

Definition at line 69 of file errors_imp.h.


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