MCPcopy Index your code
hub / github.com/cockroachdb/errors / detail

Method detail

errbase/format_error.go:846–855  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

844type printer state
845
846func (p *state) detail() bool {
847 if !p.wantDetail {
848 return false
849 }
850 if p.notEmpty {
851 p.needNewline = 1
852 }
853 p.switchOver()
854 return true
855}
856
857func (p *state) switchOver() {
858 if p.hasDetail {

Callers 2

DetailMethod · 0.80
DetailMethod · 0.80

Calls 1

switchOverMethod · 0.95

Tested by

no test coverage detected