public function handle(OAuthException $e) { if (method_exists($this, camel_case($e->errorType))) { return $this->{camel_case($e->errorType)}($e); } }