encode(); } $exception = new static($message); $exception->body = $body; return $exception; } public function getBody(): ?string { return $this->body; } public function getLogLevel(): string { return Log::LEVEL_WARNING; } }