ConnectionException extends SdkException
in package

This is the Exception class for errors throwed when API recovered data is a error.

Table of Contents

CONNECTION_ERROR  = 'F030-C000'
__construct() Constructor. Creates the exception.  : mixed
__toString() Auto-invoked using echo or concatenations.  : string
getError() Returns the exception error.  : Error

Constants

Methods

__construct()

Constructor. Creates the exception.

public __construct(Error $error) : mixed
Parameters
$error : Error

The error that has thrown the exception

Tags
see
Error
Return values
mixed

__toString()

Auto-invoked using echo or concatenations.

public __toString() : string

Useful to log errors.

Return values
string

Search results