Resolve #28 Optional validation failure handler