def METHOD_NAME(self):
    # syntax error in GRUB_CMDLINE_LINUX, recoverable
    for error in [err for err in self.consume(GrubConfigError)
                  if err.error_type == GrubConfigError.ERROR_GRUB_CMDLINE_LINUX_SYNTAX]:
        _create_grub_error_report(
                error=error,
                title='Syntax error detected in grub configuration',
                summary=('Syntax error was detected in GRUB_CMDLINE_LINUX value of grub configuration. '
                         'This error is causing booting and other issues. '
                         'Error is automatically fixed by add_upgrade_boot_entry actor.'),
            )
        break
    # missing newline, recoverable
    for error in [err for err in self.consume(GrubConfigError)
                  if err.error_type == GrubConfigError.ERROR_MISSING_NEWLINE]:
        _create_grub_error_report(
                error=error,
                title='Detected a missing newline at the end of grub configuration file',
                summary=('The missing newline in /etc/default/grub causes booting issues when appending '
                         'new entries to this file during the upgrade. Leapp will automatically fix this '
                         'problem by appending the missing newline to the grub configuration file.')
            )
        break
    # corrupted configuration, inhibitor
    for error in [err for err in self.consume(GrubConfigError)
                  if err.error_type == GrubConfigError.ERROR_CORRUPTED_GRUBENV]:
        _create_grub_error_report(
                error=error,
                title='Detected a corrupted grubenv file',
                summary=('The grubenv file must be valid to pass the upgrade correctly: \n'
                         '- an exact size of 1024 bytes is expected \n'
                         '- it cannot end with a newline. \n'
                         'The corruption could be caused by a manual modification of the file which '
                         'is not recommended.'),
                severity=reporting.Severity.HIGH,
                is_inhibitor=True,
                remediation=reporting.Remediation(
                    hint='Delete {} file(s) and regenerate grubenv using the grub2-mkconfig tool'.format(
                        ','.join(error.files))))
        break