Minor/non-critical nitpick: pos_range should come after error.