Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure you want to rename?
SAFE MODE
/
application
/
vendor
/
pusher
/
pusher-php-server
/
src
:
ApiErrorException.php
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?php namespace Pusher; /** * HTTP error responses. * getCode() will return the response HTTP status code, * and getMessage() will return the response body. */ class ApiErrorException extends PusherException { /** * Returns the string representation of the exception. * * @return string */ public function __toString(): string { return "(Status {$this->getCode()}) {$this->getMessage()}"; } }