Fix typehint in DescriptorAbstract->setErrors()

Also remove code from FileDescriptor that is implemented in parent
class DescriptorAbstract