Error handler for rangeDeserialize in src/tools/state.js