class ImapCommandException extends Exception (View source)

Properties

protected Response $response

The IMAP response.

protected ImapCommand $command

The failed IMAP command.

Methods

make(ImapCommand $command, Response $response)

Make a new instance from a failed command and response.

command()

Get the failed IMAP command.

response()

Get the IMAP response.

Details

static ImapCommandException make(ImapCommand $command, Response $response)

Make a new instance from a failed command and response.

Parameters

ImapCommand $command
Response $response

Return Value

ImapCommandException

ImapCommand command()

Get the failed IMAP command.

Return Value

ImapCommand

Response response()

Get the IMAP response.

Return Value

Response