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
3declare(strict_types=1);
4
5namespace ImovelZapAi\Publishing\Connectors\GroupOlx\Domain\Exceptions;
6
7use LogicException;
8
9/**
10 * PublicationLogs do Grupo OLX são append-only.
11 */
12final 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}