Tweaking custom errors