Clamex v0.2.1 Clamex.Output View Source
Utilities to process scanner output.
Link to this section Summary
Functions
Extract error message from scanner’s output
Link to this section Functions
Extract error message from scanner’s output.
Depending on error scenario and scanner used, error messages included in the output may be formatted in different ways.
The error message is extracted in following way:
- extract message from first line prefixed with “ERROR: “
- if not found, extract message from first line prefixed with “WARNING: “
- if not found, take the first line in full as the message