senf::console::SyntaxErrorException Struct Reference

Syntax error parsing command arguments exception. More...

#include <senf/Utils/Console/Parse.hh>

Inheritance diagram for senf::console::SyntaxErrorException:

Public Member Functions

 SyntaxErrorException (std::string const &msg="syntax error")
 
- Public Member Functions inherited from senf::Exception
virtual ~Exception ()
 
virtual char const * what () const
 
- Public Member Functions inherited from senf::ExceptionMixin
std::string message () const
 
std::string backtrace () const
 
void append (std::string text)
 

Additional Inherited Members

- Protected Member Functions inherited from senf::Exception
 Exception (std::string const &description="")
 
- Protected Member Functions inherited from senf::ExceptionMixin
 ExceptionMixin (std::string const &description="")
 
- Protected Attributes inherited from senf::ExceptionMixin
std::string what_
 

Detailed Description

Syntax error parsing command arguments exception.

All errors while parsing the arguments of a command must be signaled by throwing an instance of SyntaxErrorException. This is important, so command overloading works.

Definition at line 472 of file Parse.hh.

Constructor & Destructor Documentation

◆ SyntaxErrorException()

senf::console::SyntaxErrorException::SyntaxErrorException ( std::string const &  msg = "syntax error")
inlineexplicit

Definition at line 473 of file Parse.hh.


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