command = $command; $exception->response = $response; return $exception; } /** * Get the failed IMAP command. */ public function command(): ImapCommand { return $this->command; } /** * Get the IMAP response. */ public function response(): Response { return $this->response; } }