cpp/error/error code/operator bool

Checks if the error value is valid, i.e. non-zero.

Parameters
(none)

Return value
if, otherwise.