This is examples how Laravels handle exceptions.
try{ .. .. Business Logic .. .. } catch(ThrottlingException $e){ $delay = $e->getDelay(); return redirect()->response->withErrors("You are banned for $delay seconds."); } catch(NotActivatedException $e){ return redirect()->response->withErrors("You account is not activated."); }
Not to forget at the top of the class
use Cartalyst\Sentinel\Checkpoints\ThrottlingException; use Cartalyst\Sentinel\Checkpoints\NotActivatedException;