code: func (err BadParameterError) Expected(expexcted interface{}) BadParameterError {
  	err.expectedValue = expexcted
  	err.hasExpectedValue = true
  	return err
  }
docs: // Expected sets the optional expectedValue parameter on the BadParameterError