btool
A parser/converter/transpiler for .bib files
GeneratorException Struct Reference

#include <GeneratorException.hpp>

+ Inheritance diagram for GeneratorException:
+ Collaboration diagram for GeneratorException:

Public Member Functions

 GeneratorException (std::string message)
 
auto what () const noexcept -> const char *override
 

Public Attributes

std::string message
 the message to throw More...
 

Detailed Description

A File-Writing exception

Definition at line 11 of file GeneratorException.hpp.

Constructor & Destructor Documentation

◆ GeneratorException()

GeneratorException::GeneratorException ( std::string  message)
explicit

Constructor.

Parameters
filethe file to error on
messagethe message to throw

Definition at line 17 of file GeneratorException.cpp.

Member Function Documentation

◆ what()

auto GeneratorException::what ( ) const -> const char *
overridenoexcept

Exception-Message

Returns
the exception-message

Definition at line 8 of file GeneratorException.cpp.

References message.

Member Data Documentation

◆ message

std::string GeneratorException::message

the message to throw

Definition at line 12 of file GeneratorException.hpp.

Referenced by what().


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