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