errorClass: Further protect against nil errorMap.  Fixes #285
Merge remote-tracking branch 'origin/master' into ide-friendly