WonderPush PHP library
  • Namespace
  • Class
Navigation
  • Namespace
  • Class
Namespaces
  • WonderPush
    • Api
    • Errors
    • Net
    • Obj
    • Params
    • Util
Exceptions
  • Base
  • Network
  • Parsing
  • Server

Class Server

Network related errors, and API error responses.

Exception
┗ WonderPush\Errors\Base
┗ WonderPush\Errors\Server
Namespace: WonderPush\Errors
Located at Errors/Server.php

Methods summary

public __construct( WonderPush\Net\Request $request, WonderPush\Net\Response $response, $message = '', $code = '0', Exception $previous = null )

Overrides

WonderPush\Errors\Base::__construct
public getRequest( void ) : WonderPush\Net\Request

The network request that was performed.

The network request that was performed.

Returns

WonderPush\Net\Request
public getResponse( void ) : WonderPush\Net\Response

The network response that was received.

The network response that was received.

Returns

WonderPush\Net\Response

Methods inherited from WonderPush\Errors\Base

getCodeStr()

Methods inherited from Exception

__toString(), __wakeup(), getCode(), getFile(), getLine(), getMessage(), getPrevious(), getTrace(), getTraceAsString()

Constants summary

Constants inherited from WonderPush\Errors\Base

DEFAULT_MESSAGE

WonderPush PHP library API documentation generated by ApiGen