Could you throw the character/index into the error message? If it hits perf though then it's probably not worth it.