Fix wrong naming of custom error doc attribute