In the review for this PR, @nickkhyl points out that it would be nice if AppendToWalkInit could accept functions that return errors so that failures could be propagated up to the caller of InitApp.
I think it's a good idea, but I'm filing it as a new issue for follow-up.