| Code Coverage
| Lines | Functions and Methods | Classes and Traits
Total | 100.00% covered (success) | 100.00% | 1 / 1 | 100.00% covered (success) | 100.00% | 1 / 1 | CRAP | 100.00% covered (success) | 100.00% | 1 / 1
GroupOlxPublicationLogImmutableException | 100.00% covered (success) | 100.00% | 1 / 1 | 100.00% covered (success) | 100.00% | 1 / 1 | 1 | 100.00% covered (success) | 100.00% | 1 / 1
cannotDelete | 100.00% covered (success) | 100.00% | 1 / 1 | 100.00% covered (success) | 100.00% | 1 / 1 | 1 |

1 | <?php
2 |
3 | declare(strict_types=1);
4 |
5 | namespace ImovelZapAi\Publishing\Connectors\GroupOlx\Domain\Exceptions;
6 |
7 | use LogicException;
8 |
9 | /**
10 | * PublicationLogs do Grupo OLX são append-only.
11 | */
12 | final class GroupOlxPublicationLogImmutableException extends LogicException
13 | {
14 | public static function cannotDelete(): self
15 | {
16 | return new self('PublicationLogs do Grupo OLX nunca podem ser excluídos.');
17 | }
18 | }