package jx

import 

// badTokenErr means that Token was unexpected while decoding.
type badTokenErr struct {
	Token  byte
	Offset int
}

func ( *badTokenErr) () string {
	return fmt.Sprintf("unexpected byte %d %q at %d", .Token, .Token, .Offset)
}

func ( byte,  int) error {
	return &badTokenErr{Token: , Offset: }
}