cppcms_error.h
//
// Copyright (C) 2008-2012 Artyom Beilis (Tonkikh) <artyomtnk@yahoo.com>
//
// See accompanying file COPYING.TXT file for licensing details.
//
#ifndef CPPCMS_ERROR_H
#define CPPCMS_ERROR_H
#include <cppcms/defs.h>
#include <string>
#include <booster/backtrace.h>
namespace cppcms {
class CPPCMS_API cppcms_error : public booster::runtime_error {
std::string strerror(int err);
public:
cppcms_error(int err,std::string const &error);
cppcms_error(std::string const &error) : booster::runtime_error(error) {};
};
}
#endif
cppcms::cppcms_error::cppcms_error
cppcms_error(std::string const &error)
Definition: cppcms_error.h:32
booster::runtime_error
Same as std::runtime_error but records stack trace.
Definition: backtrace.h:158
cppcms::cppcms_error
Exception thrown by CppCMS framework.
Definition: cppcms_error.h:22