Overview

Namespaces

  • Angelfon
    • SDK
      • Exceptions
      • Http
      • Rest
        • Api
          • V099
            • User

Exceptions

  • AngelfonException
  • ConfigurationException
  • RestException
  • Overview
  • Namespace
  • Class

Class RestException

Exception implements Throwable
Extended by Angelfon\SDK\Exceptions\AngelfonException
Extended by Angelfon\SDK\Exceptions\RestException
Namespace: Angelfon\SDK\Exceptions
Located at Exceptions/RestException.php
Methods summary
public
# __construct( string $message, integer $code, integer $statusCode )

Construct the exception. Note: The message is NOT binary safe.

Construct the exception. Note: The message is NOT binary safe.

Parameters

$message
[optional] The Exception message to throw.
$code
[optional] The Exception code.
$statusCode
[optional] The HTTP Status code.

Since

5.1.0

Link

http://php.net/manual/en/exception.construct.php

Overrides

Exception::__construct()
public integer
# getStatusCode( )

Get the HTTP Status Code of the RestException

Get the HTTP Status Code of the RestException

Returns

integer
HTTP Status Code
Methods inherited from Exception
__toString(), __wakeup(), getCode(), getFile(), getLine(), getMessage(), getPrevious(), getTrace(), getTraceAsString()
Properties summary
protected $statusCode
#
Properties inherited from Exception
$code, $file, $line, $message
API documentation generated by ApiGen