MXVM 1.8.1
Virtual Machine, Compiler, and Pascal Frontend
Loading...
Searching...
No Matches
mx::ArgException< String > Class Template Reference

Exception type thrown for argument parsing errors. More...

#include <argz.hpp>

Public Member Functions

 ArgException ()=default
 ArgException (const String &s)
 Construct with an error message.
String text () const
 Get the error message.

Private Attributes

String value

Detailed Description

template<StringType String>
class mx::ArgException< String >

Exception type thrown for argument parsing errors.

Template Parameters
StringA StringType-constrained string class

Definition at line 102 of file argz.hpp.

Constructor & Destructor Documentation

◆ ArgException() [1/2]

template<StringType String>
mx::ArgException< String >::ArgException ( )
default

◆ ArgException() [2/2]

template<StringType String>
mx::ArgException< String >::ArgException ( const String & s)
inline

Construct with an error message.

Definition at line 107 of file argz.hpp.

References value.

Member Function Documentation

◆ text()

template<StringType String>
String mx::ArgException< String >::text ( ) const
inline

Get the error message.

Definition at line 110 of file argz.hpp.

References value.

Referenced by main(), mx::proc_args(), and proc_args().

Member Data Documentation

◆ value

template<StringType String>
String mx::ArgException< String >::value
private

Definition at line 113 of file argz.hpp.

Referenced by ArgException(), and text().


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