Name

runtime_error class — Base class for runtime errors

Synopsis

class runtime_error : public exception {
public:
  explicit runtime_error(const string& what_arg);
};

The runtime_error class is the base class for runtime errors, which are errors that cannot reasonably be detected by a static analysis of the code but can be revealed only at runtime.