VivoQuant 6.5.0
Loading...
Searching...
No Matches
HasErrorQObject Class Reference

Description

Error reporting shared by several script objects.

DICOM repositories, the importers (such as VQ.brukerImporter()) and IPACS WebDisk report errors this way: a failed call stores a message instead of throwing, and the script reads it with these functions.

Public Member Functions

bool hasError ()
 Returns true if an error message is stored.
void clearError ()
 Clears the stored error message.
string takeError ()
 Returns the stored error message and clears it.
string errorString ()
 Returns the stored error message, or an empty string. The message is kept.