The Error class contains and outputs error messages.
In udoc, errors are reported by creating an Error object. Later, the static function Error::report() will sort the error messages such that the most interesting messages are reported first, limit the total number of reports, and output it all.
Constructs an Error report for file line, whose text is text. The message is reported immediately if file is bad (ie. File::valid() is false), and later if the file is OK.
The returned pointer may be discarded.
This private helper reports the error on stdout.
Reports all stored errors.
This web page based on source code belonging to Oryx Mail Systems GmbH. All rights reserved.