Fixed type in namespace in "use" in class ErrorElement

Just a typo that was making error when one was editing an record.