class ClientErrorEvent extends ClientEvent

Class ClientErrorEvent

Constants

CONNECTED

DISCONNECTED

ERROR

REJECTED

Properties

protected ConnectionInterface $connection from ClientEvent
protected int $type from ClientEvent
protected Exception $e

Methods

__construct(ConnectionInterface $connection, int $type)

No description

ConnectionInterface
getConnection()

No description

int
getType()

No description

setException(Exception $e)

No description

getException()

No description

Details

in ClientEvent at line 30
__construct(ConnectionInterface $connection, int $type)

Parameters

ConnectionInterface $connection
int $type

in ClientEvent at line 38
ConnectionInterface getConnection()

Return Value

ConnectionInterface

in ClientEvent at line 45
int getType()

Return Value

int

at line 19
setException(Exception $e)

Parameters

Exception $e

at line 27
Exception getException()

Return Value

Exception