Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

PrevUpHomeNext

Class system_error

boost::log::system_error — Exception class that is used to indicate underlying OS API errors.

Synopsis

// In header: <boost/log/exceptions.hpp>


class system_error : public system_error {
public:
  // construct/copy/destruct
  system_error(boost::system::error_code, std::string const &);
  ~system_error();
};

Description

system_error public construct/copy/destruct

  1. system_error(boost::system::error_code code, std::string const & descr);

    Initializing constructor. Creates an exception with the specified error message.

  2. ~system_error();

    Destructor


PrevUpHomeNext