MAIA bb96820c
Multiphysics at AIA
Loading...
Searching...
No Matches
cpptoml::parse_exception Class Reference

#include <cpptoml.h>

Inheritance diagram for cpptoml::parse_exception:
[legend]
Collaboration diagram for cpptoml::parse_exception:
[legend]

Public Member Functions

 parse_exception (const std::string &err)
 
 parse_exception (const std::string &err, std::size_t line_number)
 

Detailed Description

Exception class for all TOML parsing errors.

Definition at line 1463 of file cpptoml.h.

Constructor & Destructor Documentation

◆ parse_exception() [1/2]

cpptoml::parse_exception::parse_exception ( const std::string &  err)
inline

Definition at line 1465 of file cpptoml.h.

1465: std::runtime_error{err} {}

◆ parse_exception() [2/2]

cpptoml::parse_exception::parse_exception ( const std::string &  err,
std::size_t  line_number 
)
inline

Definition at line 1467 of file cpptoml.h.

1468 : std::runtime_error{err + " at line " + std::to_string(line_number)} {}

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