code: def error(self, msg, offset=0):
      if not self.istext:
          msg = msg.encode("ascii", "backslashreplace").decode("ascii")
      return error(msg, self.string, self.tell() - offset)
  
imports: from ._constants import *
label_desc: Use image node_id 10 for calling the Tokenizer obj's underlying member method code with example usage: obj.error(msg, offset) and returns: error