facebook/facebook-php-sdk-v4 — pull request #37 by SammyK (2014-05-06 16:22:40+00:00)
Title: Added more specific handling for exceptions thrown by Graph

Added better handling of exceptions thrown by Graph.

1. Looks for error type `OAuthException` which Graph throws with undocumented error codes.
2. Looks at sub code and throws a new `FacebookUserIssueException` for codes 459 & 464. That way we can show a proper error message to the user telling them to go to Facebook and fix their beef.