WiseLoop PHP REST Services 3.3.1
RESTful web service API framework for PHP
wlRestException Class Reference

Public Member Functions

 __construct ($message, $code=null)
 __toString ()

Detailed Description

WiseLoop RestException class definition
This provides a custom exception class to help in error handling across the other REST services classes.

Author:
WiseLoop

Constructor & Destructor Documentation

__construct ( message,
code = null 
)

Constructor.
Creates a wlRestException object.

Parameters:
string$message
string | int$code

Member Function Documentation

__toString ( )

Returns the string representation of the current wlRestException object.

Returns:
string
 All Data Structures Functions Variables