Bomberman
Public Member Functions | List of all members
BBM::Error Class Reference

#include <Error.hpp>

Inheritance diagram for BBM::Error:
Collaboration diagram for BBM::Error:

Public Member Functions

 Error (const std::string &what)
 Create a new exception. More...
 
 Error (const Error &)=default
 An exception is copy constructable. More...
 
 ~Error () override=default
 A default destructor. More...
 
Erroroperator= (const Error &)=default
 A default assignment operator. More...
 

Constructor & Destructor Documentation

◆ Error() [1/2]

BBM::Error::Error ( const std::string &  what)
explicit

Create a new exception.

◆ Error() [2/2]

BBM::Error::Error ( const Error )
default

An exception is copy constructable.

◆ ~Error()

BBM::Error::~Error ( )
overridedefault

A default destructor.

Member Function Documentation

◆ operator=()

Error& BBM::Error::operator= ( const Error )
default

A default assignment operator.


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