redirect to route on error + specific exception throwing