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 | ||
| 3 | declare(strict_types=1); | |
| 4 | ||
| 5 | namespace App\Exception; | |
| 6 | ||
| 7 | use Psr\Log\LogLevel; | |
| 8 | use 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)] | |
| 16 | final class AgentNameException extends \RuntimeException | |
| 17 | { | |
| 18 | } |