Lines 100.00% 2 / 2
Methods 100.00% 1 / 1
Classes 100.00% 1 / 1
Name Lines Methods CRAP
 messageTemplate 100.00% 2 / 2 100.00% 1 / 1 2
7enum WaitError: string implements ExceptionReason
8{
9    case Abandoned = 'abandoned';
10
11    public function messageTemplate(): string
12    {
13        return match ($this) {
14            self::Abandoned => 'The wait ended before an event arrived, because its stream completed or its app stopped.',
15        };
16    }
17}