HOME


Mini Shell 1.0
Redirecting to https://devs.lapieza.net/iniciar-sesion Redirecting to https://devs.lapieza.net/iniciar-sesion.
DIR: /proc/thread-self/cwd/vendor/pusher/pusher-php-server/src/
Upload File :
Current File : //proc/thread-self/cwd/vendor/pusher/pusher-php-server/src/ApiErrorException.php
<?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()}";
    }
}