rescue ErrorException in controllers