Error-class defaults to nil.