code: func (d *Decoder) error(c byte, context string) error {
  	if d.pos < d.end {
  		return &SyntaxError{"invalid character " + quoteChar(c) + " " + context, d.pos + 1}
  	}
  	return ErrUnexpectedEOF
  }
docs: // emit sytax errors