error_record-class function

Error record class.