From 8f8ea85261680a634d8563a6af144b32bfba6fae Mon Sep 17 00:00:00 2001 From: Steve Pavarno Date: Thu, 11 Jun 2015 11:19:10 +1200 Subject: [PATCH] fix exception type in example OAuthException has httpStatusCode and getHttpHeaders(). \Exception does not --- auth-server-password.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auth-server-password.md b/auth-server-password.md index 24d97280..08d3f18b 100755 --- a/auth-server-password.md +++ b/auth-server-password.md @@ -47,7 +47,7 @@ $router->post('/access_token', function (Request $request) use ($server) { ] ); - } catch (\Exception $e) { + } catch (OAuthException $e) { return new Response( json_encode([