Added in 1.9.4

$comerr

This should be checked after a call to any COM command or identifier. Returns 1 if there was an error, else 0.