[ Index ]

PHP Cross Reference of moodle-2.8

title

Body

[close]

/lib/google/Google/Service/ -> Exception.php (summary)

(no description)

File Size: 53 lines (1 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Google_Service_Exception:: (2 methods):
  __construct()
  getErrors()


Class: Google_Service_Exception  - X-Ref

__construct($message,$code = 0,Exception $previous = null,$errors = array()   X-Ref
Override default constructor to add ability to set $errors.

param: string $message
param: int $code
param: Exception|null $previous
param: [{string, string}] errors List of errors returned in an HTTP

getErrors()   X-Ref
An example of the possible errors returned.

{
"domain": "global",
"reason": "authError",
"message": "Invalid Credentials",
"locationType": "header",
"location": "Authorization",
}

return: [{string, string}] List of errors return in an HTTP response or [].



Generated: Fri Nov 28 20:29:05 2014 Cross-referenced by PHPXref 0.7.1