Toggle navigation
Hot Examples
KO
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
검색
홈
Askedio
LaravelRatchet
PusherServer
onError
Askedio\LaravelRatchet\PusherServer::onError PHP 메소드
PusherServer 1 문서
파일 보기
프로젝트 열기: askedio/laravel-ratchet
onError()
공개
메소드
If there is an error with one of the sockets, or somewhere in the application where an Exception is thrown, the Exception is sent back down the stack, handled by the Server and bubbled back up the application through this method.
public
onError
(
Ratchet\ConnectionInterface
$conn
,
Exception
$exception
)
$conn
Ratchet\ConnectionInterface
$exception
Exception
public function onError(ConnectionInterface $conn, \Exception $exception) { // }
PusherServer
onCall
onClose
onError
onOpen
onPublish
onSubscribe
onUnSubscribe