error.h

This file defines the ErrorException class and the error function.
Class
ErrorException This exception is thrown by calls to the error function.
Function
error(msg) Signals an error condition in a program by throwing an ErrorException with the specified message.

Function detail


void error(string msg);
Signals an error condition in a program by throwing an ErrorException with the specified message.

Usage:

error(msg);