MCPcopy Create free account
hub / github.com/cockroachdb/cockroachdb-parser / errJSON

Method errJSON

pkg/util/json/random.go:235–241  ·  view source on GitHub ↗
(other JSON)

Source from the content-addressed store, hash-verified

233}
234
235func (j *errJSON) errJSON(other JSON) JSON {
236 return &errJSON{
237 JSON: other,
238 errProb: j.errProb,
239 rng: j.rng,
240 }
241}
242
243// Format implements JSON, and overrides underlying JSON object
244// implementation in order to inject errors.

Callers 1

FormatMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected