Overview

Namespaces

  • ApiAxle
    • Api
    • Shared
  • ApiAxleTest
    • Api
    • Shared
  • PHP

Classes

  • Config
  • HttpRequest
  • ItemList
  • Utilities

Exceptions

  • ApiException
  • Overview
  • Namespace
  • Class
  • Tree
  • Todo

Class ApiException

Custom Exception class to also store API response for further information and debugging.

Exception
Extended by ApiAxle\Shared\ApiException
Namespace: ApiAxle\Shared
Located at src/ApiAxle/Shared/ApiException.php
Methods summary
public
# __construct( mixed $message, mixed $code, mixed $previous = null, mixed $http_code, mixed $response )

Overrides

Exception::__construct()
public
# setResponse( mixed $response )
public
# getResponse( )
public
# __toString( )

Overrides

Exception::__toString()
Methods inherited from Exception
getCode(), getFile(), getLine(), getMessage(), getPrevious(), getTrace(), getTraceAsString()
Properties summary
protected string $response
#

Full API response

Full API response

protected integer $http_code
#

HTTP response code

HTTP response code

Properties inherited from Exception
$code, $file, $line, $message
fillup/apiaxle API documentation generated by ApiGen 2.8.0