Lines n/a 0 / 0
Functions and Methods n/a 0 / 0
Classes and Traits n/a 0 / 0
Name Lines Functions and Methods CRAP Classes and Traits
AgentNameException n/a 0 / 0 n/a 0 / 0 0 n/a 0 / 0
1<?php
2
3declare(strict_types=1);
4
5namespace App\Exception;
6
7use Psr\Log\LogLevel;
8use Symfony\Component\HttpKernel\Attribute\WithLogLevel;
9
10/**
11 * Agent stats for another agent than the user's agent name, or (setting the agent name) with a
12 * nickname that is no agent name or another user's (API: 422). The user's mistake: a notice, not an
13 * error that is posted to the chats.
14 */
15#[WithLogLevel(LogLevel::NOTICE)]
16final class AgentNameException extends \RuntimeException
17{
18}