Awali
Another Weighted Automata library
Public Member Functions
awali::json::coercion_exception Class Reference

Exception used when trying to coerce a node to a given type. More...

#include <node.hh>

Inheritance diagram for awali::json::coercion_exception:
awali::json::exception

Public Member Functions

 coercion_exception (std::string const &message, std::string const &caller, node_t const *node=nullptr)
 
 coercion_exception (std::string message, node_t const *node=nullptr)
 
- Public Member Functions inherited from awali::json::exception
 exception (std::string const &message, std::string const &caller, node_t const *node=nullptr)
 
 exception (std::string const &message, std::string const &caller, path_t path_to_root, int line, int col)
 
 exception (std::string message, node_t const *node=nullptr)
 
virtual const char * what () const noexcept override
 

Additional Inherited Members

- Data Fields inherited from awali::json::exception
node_tattempted_parsed_tree
 
std::string caller
 
std::string message
 
node_t const * node
 
path_t path_to_root
 
std::string what_msg
 

Detailed Description

Exception used when trying to coerce a node to a given type.

Constructor & Destructor Documentation

◆ coercion_exception() [1/2]

awali::json::coercion_exception::coercion_exception ( std::string const &  message,
std::string const &  caller,
node_t const *  node = nullptr 
)

◆ coercion_exception() [2/2]

awali::json::coercion_exception::coercion_exception ( std::string  message,
node_t const *  node = nullptr 
)

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