A way of being able to handle errors elegantly in express