Free Electron
Public Member Functions | Private Attributes | List of all members
YAML::DeepRecursion Class Reference

The DeepRecursion class An exception class which is thrown by DepthGuard. More...

#include <depthguard.h>

Inherits YAML::ParserException.

Public Member Functions

 DeepRecursion (int depth, const Mark &mark_, const std::string &msg_)
 
int depth () const
 

Private Attributes

int m_depth = 0
 

Detailed Description

The DeepRecursion class An exception class which is thrown by DepthGuard.

Ideally it should be a member of DepthGuard. However, DepthGuard is a templated class which means that any catch points would then need to know the template parameters. It is simpler for clients to not have to know at the catch point what was the maximum depth.


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