Argo  1.0
A C++ library for handling JSON.
Classes | Functions
json_exception.hpp File Reference

The json_exception class. More...

#include <stdexcept>
#include "common.hpp"

Go to the source code of this file.

Classes

class  argo::json_exception
 Base class for all exceptions thrown by the library. More...
 

Functions

std::ostream & argo::operator<< (std::ostream &stream, const json_exception &e)
 

Detailed Description

The json_exception class.

Definition in file json_exception.hpp.

Function Documentation

ostream & argo::operator<< ( std::ostream &  stream,
const json_exception e 
)

Write the exception object to a stream. This is primarily a shortcut for logging and debugging purposes and is a simple wrapper around the what() method.

Definition at line 112 of file json_exception.cpp.