Add an error to the collection. Args: full_name: The path to the file in which the error occurred. message: The message to display with the error.
(self, full_name, message)
| 79 | logging.warn(template, full_name, message) |
| 80 | |
| 81 | def append(self, full_name, message): |
| 82 | """Add an error to the collection. |
| 83 | |
| 84 | Args: |
| 85 | full_name: The path to the file in which the error occurred. |
| 86 | message: The message to display with the error. |
| 87 | """ |
| 88 | self._errors.append((full_name, message)) |
| 89 | |
| 90 | def __len__(self): |
| 91 | return len(self._errors) |
no outgoing calls