You are here

public function fb_GraphException::__toString in Drupal for Facebook 7.4

File

./fb.module, line 1855

Class

fb_GraphException
Define a custom exception class to keep track of both the HTTP response code and the facebook error code.

Code

public function __toString() {
  return __CLASS__ . ": [{$this->code}]: {$this->message}\n";
}