Fixes #5766: define _error class suffix for classes_generic_return_code