|NORSYS SOFTWARE © 2012||NETICA API||C   VERSION   5.04 |
|errseverity_ns ErrorSeverity_ns (||const report_ns* error )|
Given error, a report of an error which occurred, this returns an indicator of how serious the error is.
These are some of the values, in order from least to most serious, that may be returned:
|NOTHING_ERR||Not anything (nothing to report)|
|REPORT_ERR||Not an error, but a report of success|
|NOTICE_ERR||Notice of something unusual|
|WARNING_ERR||Event occurred at "warning" level - requested operation was completed,|
but results are suspect in some way
|ERROR_ERR||Event occurred at "error" level - requested operation was not properly finished,|
but no internal inconsistencies resulted
|XXX_ERR||Internal error, things left inconsistent - continuing could crash system|
If the severity is XXX_ERR, then the event causing it is the fault of Netica, and you should contact Norsys about it (email@example.com), but if it is any of the others, you should be able to change your software to remove any problems.
|ErrorNumber_ns||Return the error's identification number|
|ErrorCategory_ns||Return what kind of error it is|
|GetError_ns||Obtains the report_ns in the first place|