diff --git a/barriers/barriers.go b/barriers/barriers.go index fa4f431..54df8f3 100644 --- a/barriers/barriers.go +++ b/barriers/barriers.go @@ -19,6 +19,7 @@ import ( "fmt" "github.com/cockroachdb/errors/errbase" + "github.com/cockroachdb/redact" "github.com/gogo/protobuf/proto" ) @@ -36,7 +37,7 @@ func Handled(err error) error { if err == nil { return nil } - return HandledWithMessage(err, err.Error()) + return HandledWithSafeMessage(err, redact.Sprint(err)) } // HandledWithMessage is like Handled except the message is overridden. @@ -46,7 +47,14 @@ func HandledWithMessage(err error, msg string) error { if err == nil { return nil } - return &barrierError{maskedErr: err, msg: msg} + return HandledWithSafeMessage(err, redact.Sprint(msg)) +} + +// HandledWithSafeMessage is like Handled except the message is overridden. +// This can be used e.g. to hide message details or to prevent +// downstream code to make assertions on the message's contents. +func HandledWithSafeMessage(err error, msg redact.RedactableString) error { + return &barrierErr{maskedErr: err, smsg: msg} } // HandledWithMessagef is like HandledWithMessagef except the message @@ -55,47 +63,48 @@ func HandledWithMessagef(err error, format string, args ...interface{}) error { if err == nil { return nil } - return &barrierError{maskedErr: err, msg: fmt.Sprintf(format, args...)} + return &barrierErr{maskedErr: err, smsg: redact.Sprintf(format, args...)} } -// barrierError is a leaf error type. It encapsulates a chain of +// barrierErr is a leaf error type. It encapsulates a chain of // original causes, but these causes are hidden so that they inhibit // matching via Is() and the Cause()/Unwrap() recursions. -type barrierError struct { +type barrierErr struct { // Message for the barrier itself. // In the common case, the message from the masked error // is used as-is (see Handled() above) however it is // useful to cache it here since the masked error may // have a long chain of wrappers and its Error() call // may be expensive. - msg string + smsg redact.RedactableString // Masked error chain. maskedErr error } -var _ error = (*barrierError)(nil) -var _ errbase.SafeDetailer = (*barrierError)(nil) -var _ errbase.SafeFormatter = (*barrierError)(nil) -var _ fmt.Formatter = (*barrierError)(nil) +var _ error = (*barrierErr)(nil) +var _ errbase.SafeDetailer = (*barrierErr)(nil) +var _ errbase.SafeFormatter = (*barrierErr)(nil) +var _ fmt.Formatter = (*barrierErr)(nil) -// barrierError is an error. -func (e *barrierError) Error() string { return e.msg } +// barrierErr is an error. +func (e *barrierErr) Error() string { return e.smsg.StripMarkers() } // SafeDetails reports the PII-free details from the masked error. -func (e *barrierError) SafeDetails() []string { +func (e *barrierErr) SafeDetails() []string { var details []string for err := e.maskedErr; err != nil; err = errbase.UnwrapOnce(err) { sd := errbase.GetSafeDetails(err) details = sd.Fill(details) } + details = append(details, redact.Sprintf("masked error: %+v", e.maskedErr).Redact().StripMarkers()) return details } // Printing a barrier reveals the details. -func (e *barrierError) Format(s fmt.State, verb rune) { errbase.FormatError(e, s, verb) } +func (e *barrierErr) Format(s fmt.State, verb rune) { errbase.FormatError(e, s, verb) } -func (e *barrierError) SafeFormatError(p errbase.Printer) (next error) { - p.Print(e.msg) +func (e *barrierErr) SafeFormatError(p errbase.Printer) (next error) { + p.Print(e.smsg) if p.Detail() { p.Printf("-- cause hidden behind barrier\n%+v", e.maskedErr) } @@ -106,19 +115,37 @@ func (e *barrierError) SafeFormatError(p errbase.Printer) (next error) { func encodeBarrier( ctx context.Context, err error, ) (msg string, details []string, payload proto.Message) { - e := err.(*barrierError) + e := err.(*barrierErr) enc := errbase.EncodeError(ctx, e.maskedErr) - return e.msg, e.SafeDetails(), &enc + return string(e.smsg), e.SafeDetails(), &enc } // A barrier error is decoded exactly. func decodeBarrier(ctx context.Context, msg string, _ []string, payload proto.Message) error { enc := payload.(*errbase.EncodedError) - return &barrierError{msg: msg, maskedErr: errbase.DecodeError(ctx, *enc)} + return &barrierErr{smsg: redact.RedactableString(msg), maskedErr: errbase.DecodeError(ctx, *enc)} } +// Previous versions of barrier errors. +func decodeBarrierPrev(ctx context.Context, msg string, _ []string, payload proto.Message) error { + enc := payload.(*errbase.EncodedError) + return &barrierErr{smsg: redact.Sprint(msg), maskedErr: errbase.DecodeError(ctx, *enc)} +} + +// barrierError is the "old" type name of barrierErr. We use a new +// name now to ensure a different decode function is used when +// importing barriers from the previous structure, where the +// message is not redactable. +type barrierError struct { + msg string + maskedErr error +} + +func (b *barrierError) Error() string { return "" } + func init() { - tn := errbase.GetTypeKey((*barrierError)(nil)) + errbase.RegisterLeafDecoder(errbase.GetTypeKey((*barrierError)(nil)), decodeBarrierPrev) + tn := errbase.GetTypeKey((*barrierErr)(nil)) errbase.RegisterLeafDecoder(tn, decodeBarrier) errbase.RegisterLeafEncoder(tn, encodeBarrier) } diff --git a/barriers/barriers_test.go b/barriers/barriers_test.go index c92a168..b559161 100644 --- a/barriers/barriers_test.go +++ b/barriers/barriers_test.go @@ -118,7 +118,7 @@ woo | woo | (1) woo | Error types: (1) *errors.errorString -Error types: (1) *barriers.barrierError`}, +Error types: (1) *barriers.barrierErr`}, {"handled + handled", barriers.Handled(barriers.Handled(goErr.New("woo"))), woo, ` woo @@ -130,8 +130,8 @@ woo | | woo | | (1) woo | | Error types: (1) *errors.errorString - | Error types: (1) *barriers.barrierError -Error types: (1) *barriers.barrierError`}, + | Error types: (1) *barriers.barrierErr +Error types: (1) *barriers.barrierErr`}, {"handledmsg", barriers.HandledWithMessage(goErr.New("woo"), "waa"), "waa", ` waa @@ -140,7 +140,7 @@ waa | woo | (1) woo | Error types: (1) *errors.errorString -Error types: (1) *barriers.barrierError`}, +Error types: (1) *barriers.barrierErr`}, {"handledmsg + handledmsg", barriers.HandledWithMessage( barriers.HandledWithMessage( @@ -154,8 +154,8 @@ wuu | | woo | | (1) woo | | Error types: (1) *errors.errorString - | Error types: (1) *barriers.barrierError -Error types: (1) *barriers.barrierError`}, + | Error types: (1) *barriers.barrierErr +Error types: (1) *barriers.barrierErr`}, {"handled + wrapper", barriers.Handled( @@ -172,7 +172,7 @@ waa: woo | | multi-line wrapper payload | Wraps: (2) woo | Error types: (1) *barriers_test.werrFmt (2) *errors.errorString -Error types: (1) *barriers.barrierError`}, +Error types: (1) *barriers.barrierErr`}, } for _, test := range testCases { diff --git a/errutil/message_test.go b/errutil/message_test.go index 34bb2d1..0a7311d 100644 --- a/errutil/message_test.go +++ b/errutil/message_test.go @@ -124,7 +124,7 @@ Wraps: (4) wuu: woo | | multi-line payload | Wraps: (2) woo | Error types: (1) *errutil_test.werrFmt (2) *errors.errorString -Error types: (1) *assert.withAssertionFailure (2) *withstack.withStack (3) *errutil.withPrefix (4) *barriers.barrierError`, +Error types: (1) *assert.withAssertionFailure (2) *withstack.withStack (3) *errutil.withPrefix (4) *barriers.barrierErr`, }, {"assert + wrap empty", @@ -148,7 +148,7 @@ Wraps: (3) wuu: woo | | multi-line payload | Wraps: (2) woo | Error types: (1) *errutil_test.werrFmt (2) *errors.errorString -Error types: (1) *assert.withAssertionFailure (2) *withstack.withStack (3) *barriers.barrierError`, +Error types: (1) *assert.withAssertionFailure (2) *withstack.withStack (3) *barriers.barrierErr`, }, {"assert + wrap empty+arg", @@ -173,7 +173,7 @@ Wraps: (4) wuu: woo | | multi-line payload | Wraps: (2) woo | Error types: (1) *errutil_test.werrFmt (2) *errors.errorString -Error types: (1) *assert.withAssertionFailure (2) *withstack.withStack (3) *errutil.withPrefix (4) *barriers.barrierError`, +Error types: (1) *assert.withAssertionFailure (2) *withstack.withStack (3) *errutil.withPrefix (4) *barriers.barrierErr`, }, } diff --git a/fmttests/testdata/format/leaves b/fmttests/testdata/format/leaves index 1ea5a30..86dcf42 100644 --- a/fmttests/testdata/format/leaves +++ b/fmttests/testdata/format/leaves @@ -112,22 +112,47 @@ Error types: (1) *assert.withAssertionFailure (2) *withstack.withStack (3) *erru ===== == Message payload :: assertmsg × -× --- -*errutil.leafError: assertmsg × (1) +(1) assertion failure +Wraps: (2) attached stack trace + -- stack trace: + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (3) assertmsg × + | × +Error types: (1) *assert.withAssertionFailure (2) *withstack.withStack (3) *errutil.leafError +-- report composition: +*errutil.leafError: assertmsg × :: *withstack.withStack (top exception) *assert.withAssertionFailure -(check the extra data payloads) -== Extra "1: details" -assertmsg × - × == Extra "error types" github.com/cockroachdb/errors/errutil/*errutil.leafError (*::) github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) github.com/cockroachdb/errors/assert/*assert.withAssertionFailure (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errutil.leafError: assertmsg ×\n×\nvia *withstack.withStack" +Title: "*errutil.leafError: assertmsg ×\nvia *withstack.withStack" :: (runtime) goexit() :: @@ -198,7 +223,9 @@ Error types: (1) *errors.errorString ===== == Message payload context canceled --- +(1) context canceled +Error types: (1) *errors.errorString +-- report composition: *errors.errorString == Extra "error types" errors/*errors.errorString (*::) @@ -252,7 +279,9 @@ Error types: (1) context.deadlineExceededError ===== == Message payload context deadline exceeded --- +(1) context deadline exceeded +Error types: (1) context.deadlineExceededError +-- report composition: context.deadlineExceededError == Extra "error types" context/context.deadlineExceededError (*::) @@ -317,14 +346,19 @@ Error types: (1) *fmttests.errFmt ===== == Message payload × +(1) ×× × --- +× +× +× +Error types: (1) *fmttests.errFmt +-- report composition: *fmttests.errFmt == Extra "error types" github.com/cockroachdb/errors/fmttests/*fmttests.errFmt (*::) == Exception 1 (Module: "error domain: ") Type: "*fmttests.errFmt" -Title: "×\n×" +Title: "×" (NO STACKTRACE) run @@ -386,14 +420,16 @@ Error types: (1) *fmttests.errFmto ===== == Message payload × +(1) ×× × --- +Error types: (1) *fmttests.errFmto +-- report composition: *fmttests.errFmto == Extra "error types" github.com/cockroachdb/errors/fmttests/*fmttests.errFmto (*::) == Exception 1 (Module: "error domain: ") Type: "*fmttests.errFmto" -Title: "×\n×" +Title: "×" (NO STACKTRACE) run @@ -455,14 +491,16 @@ Error types: (1) *fmttests.errFmtoDelegate ===== == Message payload × +(1) ×× × --- +Error types: (1) *fmttests.errFmtoDelegate +-- report composition: *fmttests.errFmtoDelegate == Extra "error types" github.com/cockroachdb/errors/fmttests/*fmttests.errFmtoDelegate (*::) == Exception 1 (Module: "error domain: ") Type: "*fmttests.errFmtoDelegate" -Title: "×\n×" +Title: "×" (NO STACKTRACE) run @@ -515,14 +553,16 @@ Error types: (1) *fmttests.errFmtp ===== == Message payload × +(1) ×× × --- +Error types: (1) *fmttests.errFmtp +-- report composition: *fmttests.errFmtp == Extra "error types" github.com/cockroachdb/errors/fmttests/*fmttests.errFmtp (*::) == Exception 1 (Module: "error domain: ") Type: "*fmttests.errFmtp" -Title: "×\n×" +Title: "×" (NO STACKTRACE) run @@ -578,14 +618,16 @@ Error types: (1) *errors.errorString ===== == Message payload × +(1) ×× × --- +Error types: (1) *errors.errorString +-- report composition: *errors.errorString == Extra "error types" errors/*errors.errorString (*::) == Exception 1 (Module: "error domain: ") Type: "*errors.errorString" -Title: "×\n×" +Title: "×" (NO STACKTRACE) run @@ -696,20 +738,44 @@ Error types: (1) *withstack.withStack (2) *errutil.leafError ===== == Message payload :: new-style × -× --- -*errutil.leafError: new-style × (1) +(1) attached stack trace + -- stack trace: + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (2) new-style × + | × +Error types: (1) *withstack.withStack (2) *errutil.leafError +-- report composition: +*errutil.leafError: new-style × :: *withstack.withStack (top exception) -(check the extra data payloads) -== Extra "1: details" -new-style × - × == Extra "error types" github.com/cockroachdb/errors/errutil/*errutil.leafError (*::) github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errutil.leafError: new-style ×\n×\nvia *withstack.withStack" +Title: "*errutil.leafError: new-style ×\nvia *withstack.withStack" :: (runtime) goexit() :: @@ -740,7 +806,6 @@ newf-attached oneline twoline require (?s)oneline.*twoline ---- ----- &withstack.withStack{ cause: &secondary.withSecondaryError{ cause: &errutil.leafError{msg:"new-style ‹oneline›\n‹twoline›: payload"}, @@ -916,51 +981,76 @@ Error types: (1) *withstack.withStack (2) *secondary.withSecondaryError (3) *err ===== == Message payload :: new-style × -×: payload --- -*errutil.leafError: new-style × (1) -*secondary.withSecondaryError: details for github.com/cockroachdb/errors/withstack/*withstack.withStack::: (2) +(1) attached stack trace + -- stack trace: + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (2) secondary error attachment + | payload + | (1) attached stack trace + | -- stack trace: + | | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | | : + | | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | | : + | | github.com/cockroachdb/datadriven.runDirective.func1 + | | : + | | github.com/cockroachdb/datadriven.runDirective + | | : + | | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | | : + | | github.com/cockroachdb/datadriven.runTestInternal + | | : + | | github.com/cockroachdb/datadriven.RunTest + | | : + | | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | | : + | | github.com/cockroachdb/datadriven.Walk + | | : + | | github.com/cockroachdb/datadriven.Walk.func1 + | | : + | | testing.tRunner + | | : + | | runtime.goexit + | | : + | Wraps: (2) payload + | Error types: (1) *withstack.withStack (2) *errutil.leafError +Wraps: (3) new-style × + | ×: payload +Error types: (1) *withstack.withStack (2) *secondary.withSecondaryError (3) *errutil.leafError +-- report composition: +*errutil.leafError: new-style × +*secondary.withSecondaryError: details for github.com/cockroachdb/errors/withstack/*withstack.withStack::: :: *withstack.withStack (top exception) -(check the extra data payloads) -== Extra "1: details" -new-style × - ×: payload -== Extra "2: details" -details for github.com/cockroachdb/errors/withstack/*withstack.withStack::: - - github.com/cockroachdb/errors/fmttests.glob...funcNN... - : - github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 - : - github.com/cockroachdb/datadriven.runDirective.func1 - : - github.com/cockroachdb/datadriven.runDirective - : - github.com/cockroachdb/datadriven.runDirectiveOrSubTest - : - github.com/cockroachdb/datadriven.runTestInternal - : - github.com/cockroachdb/datadriven.RunTest - : - github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 - : - github.com/cockroachdb/datadriven.Walk - : - github.com/cockroachdb/datadriven.Walk.func1 - : - testing.tRunner - : - runtime.goexit - : -details for github.com/cockroachdb/errors/errutil/*errutil.leafError::: - payload == Extra "error types" github.com/cockroachdb/errors/errutil/*errutil.leafError (*::) github.com/cockroachdb/errors/secondary/*secondary.withSecondaryError (*::) github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errutil.leafError: new-style ×\n×: payload\nvia *withstack.withStack" +Title: "*errutil.leafError: new-style ×\nvia *withstack.withStack" :: (runtime) goexit() :: @@ -985,8 +1075,6 @@ Title: "*errutil.leafError: new-style ×\n×: payload\nvia *withstack.withStack" (github.com/cockroachdb/errors/fmttests.TestDatadriven.func2) 1() :: (github.com/cockroachdb/errors/fmttests.glob.)...funcNN... ----- ----- run nofmt oneline twoline @@ -1038,14 +1126,16 @@ Error types: (1) *fmttests.errNoFmt ===== == Message payload × +(1) ×× × --- +Error types: (1) *fmttests.errNoFmt +-- report composition: *fmttests.errNoFmt == Extra "error types" github.com/cockroachdb/errors/fmttests/*fmttests.errNoFmt (*::) == Exception 1 (Module: "error domain: ") Type: "*fmttests.errNoFmt" -Title: "×\n×" +Title: "×" (NO STACKTRACE) run @@ -1093,7 +1183,9 @@ Error types: (1) *errors.errorString ===== == Message payload file already closed --- +(1) file already closed +Error types: (1) *errors.errorString +-- report composition: *errors.errorString == Extra "error types" errors/*errors.errorString (*::) @@ -1147,7 +1239,9 @@ Error types: (1) *errors.errorString ===== == Message payload file already exists --- +(1) file already exists +Error types: (1) *errors.errorString +-- report composition: *errors.errorString == Extra "error types" errors/*errors.errorString (*::) @@ -1201,7 +1295,9 @@ Error types: (1) *errors.errorString ===== == Message payload invalid argument --- +(1) invalid argument +Error types: (1) *errors.errorString +-- report composition: *errors.errorString == Extra "error types" errors/*errors.errorString (*::) @@ -1255,7 +1351,9 @@ Error types: (1) *errors.errorString ===== == Message payload file does not exist --- +(1) file does not exist +Error types: (1) *errors.errorString +-- report composition: *errors.errorString == Extra "error types" errors/*errors.errorString (*::) @@ -1309,7 +1407,9 @@ Error types: (1) *errors.errorString ===== == Message payload permission denied --- +(1) permission denied +Error types: (1) *errors.errorString +-- report composition: *errors.errorString == Extra "error types" errors/*errors.errorString (*::) @@ -1458,14 +1558,41 @@ Error types: (1) *errors.fundamental ===== == Message payload :: × +(1) ×× × --- + -- stack trace: + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Error types: (1) *errors.fundamental +-- report composition: :: *errors.fundamental (top exception) == Extra "error types" github.com/pkg/errors/*errors.fundamental (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errors.fundamental: ×\n×" +Title: "*errors.fundamental: ×" :: (runtime) goexit() :: @@ -1541,14 +1668,16 @@ Error types: (1) *fmttests.errSafeFormat ===== == Message payload safe × -× --- +(1) safe × + | × +Error types: (1) *fmttests.errSafeFormat +-- report composition: *fmttests.errSafeFormat == Extra "error types" github.com/cockroachdb/errors/fmttests/*fmttests.errSafeFormat (*::) == Exception 1 (Module: "error domain: ") Type: "*fmttests.errSafeFormat" -Title: "safe ×\n×" +Title: "safe ×" (NO STACKTRACE) run @@ -1613,16 +1742,17 @@ Error types: (1) *issuelink.unimplementedError ===== == Message payload × -× --- -*issuelink.unimplementedError: https://mysite (1) -(check the extra data payloads) -== Extra "1: details" -https://mysite -issuedetails +(1) × + | × + | unimplemented + | issue: https://mysite + | detail: issuedetails +Error types: (1) *issuelink.unimplementedError +-- report composition: +*issuelink.unimplementedError: https://mysite == Extra "error types" github.com/cockroachdb/errors/issuelink/*issuelink.unimplementedError (*::) == Exception 1 (Module: "error domain: ") Type: "*issuelink.unimplementedError" -Title: "×\n×" +Title: "×" (NO STACKTRACE) diff --git a/fmttests/testdata/format/leaves-via-network b/fmttests/testdata/format/leaves-via-network index c443142..21da540 100644 --- a/fmttests/testdata/format/leaves-via-network +++ b/fmttests/testdata/format/leaves-via-network @@ -131,22 +131,50 @@ Error types: (1) *assert.withAssertionFailure (2) *errbase.opaqueWrapper (3) *er ===== == Message payload :: assertmsg × -× --- -*errutil.leafError: assertmsg × (1) +(1) assertion failure +Wraps: (2) + | (opaque error wrapper) + | type name: github.com/cockroachdb/errors/withstack/*withstack.withStack + | reportable 0: + | + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (3) assertmsg × + | × +Error types: (1) *assert.withAssertionFailure (2) *errbase.opaqueWrapper (3) *errutil.leafError +-- report composition: +*errutil.leafError: assertmsg × :: *withstack.withStack (top exception) *assert.withAssertionFailure -(check the extra data payloads) -== Extra "1: details" -assertmsg × - × == Extra "error types" github.com/cockroachdb/errors/errutil/*errutil.leafError (*::) github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) github.com/cockroachdb/errors/assert/*assert.withAssertionFailure (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errutil.leafError: assertmsg ×\n×\nvia *withstack.withStack" +Title: "*errutil.leafError: assertmsg ×\nvia *withstack.withStack" :: (runtime) goexit() :: @@ -218,7 +246,9 @@ Error types: (1) *errors.errorString ===== == Message payload context canceled --- +(1) context canceled +Error types: (1) *errors.errorString +-- report composition: *errors.errorString == Extra "error types" errors/*errors.errorString (*::) @@ -273,7 +303,9 @@ Error types: (1) context.deadlineExceededError ===== == Message payload context deadline exceeded --- +(1) context deadline exceeded +Error types: (1) context.deadlineExceededError +-- report composition: context.deadlineExceededError == Extra "error types" context/context.deadlineExceededError (*::) @@ -355,14 +387,19 @@ Error types: (1) *errbase.opaqueLeaf ===== == Message payload × -× --- +(1) × + | × + | + | (opaque error leaf) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.errFmt +Error types: (1) *errbase.opaqueLeaf +-- report composition: *fmttests.errFmt == Extra "error types" github.com/cockroachdb/errors/fmttests/*fmttests.errFmt (*::) == Exception 1 (Module: "error domain: ") Type: "*fmttests.errFmt" -Title: "×\n×" +Title: "×" (NO STACKTRACE) run @@ -441,14 +478,19 @@ Error types: (1) *errbase.opaqueLeaf ===== == Message payload × -× --- +(1) × + | × + | + | (opaque error leaf) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.errFmto +Error types: (1) *errbase.opaqueLeaf +-- report composition: *fmttests.errFmto == Extra "error types" github.com/cockroachdb/errors/fmttests/*fmttests.errFmto (*::) == Exception 1 (Module: "error domain: ") Type: "*fmttests.errFmto" -Title: "×\n×" +Title: "×" (NO STACKTRACE) run @@ -527,14 +569,19 @@ Error types: (1) *errbase.opaqueLeaf ===== == Message payload × -× --- +(1) × + | × + | + | (opaque error leaf) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.errFmtoDelegate +Error types: (1) *errbase.opaqueLeaf +-- report composition: *fmttests.errFmtoDelegate == Extra "error types" github.com/cockroachdb/errors/fmttests/*fmttests.errFmtoDelegate (*::) == Exception 1 (Module: "error domain: ") Type: "*fmttests.errFmtoDelegate" -Title: "×\n×" +Title: "×" (NO STACKTRACE) run @@ -610,14 +657,19 @@ Error types: (1) *errbase.opaqueLeaf ===== == Message payload × -× --- +(1) × + | × + | + | (opaque error leaf) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.errFmtp +Error types: (1) *errbase.opaqueLeaf +-- report composition: *fmttests.errFmtp == Extra "error types" github.com/cockroachdb/errors/fmttests/*fmttests.errFmtp (*::) == Exception 1 (Module: "error domain: ") Type: "*fmttests.errFmtp" -Title: "×\n×" +Title: "×" (NO STACKTRACE) run @@ -674,14 +726,16 @@ Error types: (1) *errors.errorString ===== == Message payload × +(1) ×× × --- +Error types: (1) *errors.errorString +-- report composition: *errors.errorString == Extra "error types" errors/*errors.errorString (*::) == Exception 1 (Module: "error domain: ") Type: "*errors.errorString" -Title: "×\n×" +Title: "×" (NO STACKTRACE) run @@ -811,20 +865,47 @@ Error types: (1) *errbase.opaqueWrapper (2) *errutil.leafError ===== == Message payload :: new-style × -× --- -*errutil.leafError: new-style × (1) +(1) + | (opaque error wrapper) + | type name: github.com/cockroachdb/errors/withstack/*withstack.withStack + | reportable 0: + | + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (2) new-style × + | × +Error types: (1) *errbase.opaqueWrapper (2) *errutil.leafError +-- report composition: +*errutil.leafError: new-style × :: *withstack.withStack (top exception) -(check the extra data payloads) -== Extra "1: details" -new-style × - × == Extra "error types" github.com/cockroachdb/errors/errutil/*errutil.leafError (*::) github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errutil.leafError: new-style ×\n×\nvia *withstack.withStack" +Title: "*errutil.leafError: new-style ×\nvia *withstack.withStack" :: (runtime) goexit() :: @@ -856,7 +937,6 @@ opaque require (?s)oneline.*twoline ---- ----- &errbase.opaqueWrapper{ cause: &secondary.withSecondaryError{ cause: &errutil.leafError{msg:"new-style ‹oneline›\n‹twoline›: payload"}, @@ -1068,51 +1148,82 @@ Error types: (1) *errbase.opaqueWrapper (2) *secondary.withSecondaryError (3) *e ===== == Message payload :: new-style × -×: payload --- -*errutil.leafError: new-style × (1) -*secondary.withSecondaryError: details for github.com/cockroachdb/errors/withstack/*withstack.withStack::: (2) +(1) + | (opaque error wrapper) + | type name: github.com/cockroachdb/errors/withstack/*withstack.withStack + | reportable 0: + | + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (2) secondary error attachment + | payload + | (1) + | | (opaque error wrapper) + | | type name: github.com/cockroachdb/errors/withstack/*withstack.withStack + | | reportable 0: + | | + | | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | | : + | | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | | : + | | github.com/cockroachdb/datadriven.runDirective.func1 + | | : + | | github.com/cockroachdb/datadriven.runDirective + | | : + | | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | | : + | | github.com/cockroachdb/datadriven.runTestInternal + | | : + | | github.com/cockroachdb/datadriven.RunTest + | | : + | | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | | : + | | github.com/cockroachdb/datadriven.Walk + | | : + | | github.com/cockroachdb/datadriven.Walk.func1 + | | : + | | testing.tRunner + | | : + | | runtime.goexit + | | : + | Wraps: (2) payload + | Error types: (1) *errbase.opaqueWrapper (2) *errutil.leafError +Wraps: (3) new-style × + | ×: payload +Error types: (1) *errbase.opaqueWrapper (2) *secondary.withSecondaryError (3) *errutil.leafError +-- report composition: +*errutil.leafError: new-style × +*secondary.withSecondaryError: details for github.com/cockroachdb/errors/withstack/*withstack.withStack::: :: *withstack.withStack (top exception) -(check the extra data payloads) -== Extra "1: details" -new-style × - ×: payload -== Extra "2: details" -details for github.com/cockroachdb/errors/withstack/*withstack.withStack::: - - github.com/cockroachdb/errors/fmttests.glob...funcNN... - : - github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 - : - github.com/cockroachdb/datadriven.runDirective.func1 - : - github.com/cockroachdb/datadriven.runDirective - : - github.com/cockroachdb/datadriven.runDirectiveOrSubTest - : - github.com/cockroachdb/datadriven.runTestInternal - : - github.com/cockroachdb/datadriven.RunTest - : - github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 - : - github.com/cockroachdb/datadriven.Walk - : - github.com/cockroachdb/datadriven.Walk.func1 - : - testing.tRunner - : - runtime.goexit - : -details for github.com/cockroachdb/errors/errutil/*errutil.leafError::: - payload == Extra "error types" github.com/cockroachdb/errors/errutil/*errutil.leafError (*::) github.com/cockroachdb/errors/secondary/*secondary.withSecondaryError (*::) github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errutil.leafError: new-style ×\n×: payload\nvia *withstack.withStack" +Title: "*errutil.leafError: new-style ×\nvia *withstack.withStack" :: (runtime) goexit() :: @@ -1137,8 +1248,6 @@ Title: "*errutil.leafError: new-style ×\n×: payload\nvia *withstack.withStack" (github.com/cockroachdb/errors/fmttests.TestDatadriven.func2) 1() :: (github.com/cockroachdb/errors/fmttests.glob.)...funcNN... ----- ----- run nofmt oneline twoline @@ -1213,14 +1322,19 @@ Error types: (1) *errbase.opaqueLeaf ===== == Message payload × -× --- +(1) × + | × + | + | (opaque error leaf) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.errNoFmt +Error types: (1) *errbase.opaqueLeaf +-- report composition: *fmttests.errNoFmt == Extra "error types" github.com/cockroachdb/errors/fmttests/*fmttests.errNoFmt (*::) == Exception 1 (Module: "error domain: ") Type: "*fmttests.errNoFmt" -Title: "×\n×" +Title: "×" (NO STACKTRACE) run @@ -1269,7 +1383,9 @@ Error types: (1) *errors.errorString ===== == Message payload file already closed --- +(1) file already closed +Error types: (1) *errors.errorString +-- report composition: *errors.errorString == Extra "error types" errors/*errors.errorString (*::) @@ -1324,7 +1440,9 @@ Error types: (1) *errors.errorString ===== == Message payload file already exists --- +(1) file already exists +Error types: (1) *errors.errorString +-- report composition: *errors.errorString == Extra "error types" errors/*errors.errorString (*::) @@ -1379,7 +1497,9 @@ Error types: (1) *errors.errorString ===== == Message payload invalid argument --- +(1) invalid argument +Error types: (1) *errors.errorString +-- report composition: *errors.errorString == Extra "error types" errors/*errors.errorString (*::) @@ -1434,7 +1554,9 @@ Error types: (1) *errors.errorString ===== == Message payload file does not exist --- +(1) file does not exist +Error types: (1) *errors.errorString +-- report composition: *errors.errorString == Extra "error types" errors/*errors.errorString (*::) @@ -1489,7 +1611,9 @@ Error types: (1) *errors.errorString ===== == Message payload permission denied --- +(1) permission denied +Error types: (1) *errors.errorString +-- report composition: *errors.errorString == Extra "error types" errors/*errors.errorString (*::) @@ -1627,14 +1751,45 @@ Error types: (1) *errbase.opaqueLeaf ===== == Message payload :: × -× --- +(1) × + | × + | + | (opaque error leaf) + | type name: github.com/pkg/errors/*errors.fundamental + | reportable 0: + | + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Error types: (1) *errbase.opaqueLeaf +-- report composition: :: *errors.fundamental (top exception) == Extra "error types" github.com/pkg/errors/*errors.fundamental (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errors.fundamental: ×\n×" +Title: "*errors.fundamental: ×" :: (runtime) goexit() :: @@ -1733,14 +1888,19 @@ Error types: (1) *errbase.opaqueLeaf ===== == Message payload × -× --- +(1) × + | × + | + | (opaque error leaf) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.errSafeFormat +Error types: (1) *errbase.opaqueLeaf +-- report composition: *fmttests.errSafeFormat == Extra "error types" github.com/cockroachdb/errors/fmttests/*fmttests.errSafeFormat (*::) == Exception 1 (Module: "error domain: ") Type: "*fmttests.errSafeFormat" -Title: "×\n×" +Title: "×" (NO STACKTRACE) run @@ -1806,16 +1966,17 @@ Error types: (1) *issuelink.unimplementedError ===== == Message payload × -× --- -*issuelink.unimplementedError: https://mysite (1) -(check the extra data payloads) -== Extra "1: details" -https://mysite -issuedetails +(1) × + | × + | unimplemented + | issue: https://mysite + | detail: issuedetails +Error types: (1) *issuelink.unimplementedError +-- report composition: +*issuelink.unimplementedError: https://mysite == Extra "error types" github.com/cockroachdb/errors/issuelink/*issuelink.unimplementedError (*::) == Exception 1 (Module: "error domain: ") Type: "*issuelink.unimplementedError" -Title: "×\n×" +Title: "×" (NO STACKTRACE) diff --git a/fmttests/testdata/format/opaque b/fmttests/testdata/format/opaque index 322ef61..e0acf26 100644 --- a/fmttests/testdata/format/opaque +++ b/fmttests/testdata/format/opaque @@ -69,14 +69,19 @@ Error types: (1) *errbase.opaqueLeaf ===== == Message payload × -× --- +(1) × + | × + | + | (opaque error leaf) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.errNoFmt +Error types: (1) *errbase.opaqueLeaf +-- report composition: *fmttests.errNoFmt == Extra "error types" github.com/cockroachdb/errors/fmttests/*fmttests.errNoFmt (*::) == Exception 1 (Module: "error domain: ") Type: "*fmttests.errNoFmt" -Title: "×\n×" +Title: "×" (NO STACKTRACE) run @@ -168,10 +173,19 @@ Error types: (1) *fmttests.werrFmt (2) *errbase.opaqueLeaf ===== Sentry reporting ===== == Message payload -× ×: × +(1) ×× +× +× × --- +× +Wraps: (2) × + | × + | + | (opaque error leaf) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.errNoFmt +Error types: (1) *fmttests.werrFmt (2) *errbase.opaqueLeaf +-- report composition: *fmttests.errNoFmt *fmttests.werrFmt == Extra "error types" @@ -179,7 +193,7 @@ github.com/cockroachdb/errors/fmttests/*fmttests.errNoFmt (*::) github.com/cockroachdb/errors/fmttests/*fmttests.werrFmt (*::) == Exception 1 (Module: "error domain: ") Type: "*fmttests.errNoFmt" -Title: "×\n×: ×\n×" +Title: "×: ×" (NO STACKTRACE) run @@ -283,10 +297,19 @@ Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueLeaf ===== Sentry reporting ===== == Message payload -× ×: × -× --- +(1) × + | × + | + | (opaque error wrapper) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.werrNoFmt +Wraps: (2) × + | × + | + | (opaque error leaf) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.errNoFmt +Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueLeaf +-- report composition: *fmttests.errNoFmt *fmttests.werrNoFmt == Extra "error types" @@ -294,7 +317,7 @@ github.com/cockroachdb/errors/fmttests/*fmttests.errNoFmt (*::) github.com/cockroachdb/errors/fmttests/*fmttests.werrNoFmt (*::) == Exception 1 (Module: "error domain: ") Type: "*fmttests.errNoFmt" -Title: "×\n×: ×\n×" +Title: "×: ×" (NO STACKTRACE) run @@ -417,11 +440,24 @@ Error types: (1) *fmttests.werrFmt (2) *errbase.opaqueWrapper (3) *errbase.opaqu ===== Sentry reporting ===== == Message payload +×: ×: × +(1) ×× × -×: × -×: × × --- +× +× +Wraps: (2) × + | × + | + | (opaque error wrapper) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.werrNoFmt +Wraps: (3) × + | × + | + | (opaque error leaf) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.errNoFmt +Error types: (1) *fmttests.werrFmt (2) *errbase.opaqueWrapper (3) *errbase.opaqueLeaf +-- report composition: *fmttests.errNoFmt *fmttests.werrNoFmt *fmttests.werrFmt @@ -431,7 +467,7 @@ github.com/cockroachdb/errors/fmttests/*fmttests.werrNoFmt (*::) github.com/cockroachdb/errors/fmttests/*fmttests.werrFmt (*::) == Exception 1 (Module: "error domain: ") Type: "*fmttests.errNoFmt" -Title: "×\n×: ×\n×: ×\n×" +Title: "×: ×: ×" (NO STACKTRACE) run @@ -566,11 +602,24 @@ Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueWrapper (3) *errbase. ===== Sentry reporting ===== == Message payload -× -×: × -×: × -× --- +×: ×: × +(1) × + | × + | + | (opaque error wrapper) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.werrNoFmt +Wraps: (2) × + | × + | + | (opaque error wrapper) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.werrNoFmt +Wraps: (3) × + | × + | + | (opaque error leaf) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.errNoFmt +Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueWrapper (3) *errbase.opaqueLeaf +-- report composition: *fmttests.errNoFmt *fmttests.werrNoFmt *fmttests.werrNoFmt @@ -580,7 +629,7 @@ github.com/cockroachdb/errors/fmttests/*fmttests.werrNoFmt (*::) github.com/cockroachdb/errors/fmttests/*fmttests.werrNoFmt (*::) == Exception 1 (Module: "error domain: ") Type: "*fmttests.errNoFmt" -Title: "×\n×: ×\n×: ×\n×" +Title: "×: ×: ×" (NO STACKTRACE) run @@ -734,12 +783,29 @@ Error types: (1) *fmttests.werrFmt (2) *errbase.opaqueWrapper (3) *errbase.opaqu ===== Sentry reporting ===== == Message payload +×: ×: ×: × +(1) ×× +× × -×: × -×: × -×: × × --- +× +Wraps: (2) × + | × + | + | (opaque error wrapper) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.werrNoFmt +Wraps: (3) × + | × + | + | (opaque error wrapper) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.werrNoFmt +Wraps: (4) × + | × + | + | (opaque error leaf) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.errNoFmt +Error types: (1) *fmttests.werrFmt (2) *errbase.opaqueWrapper (3) *errbase.opaqueWrapper (4) *errbase.opaqueLeaf +-- report composition: *fmttests.errNoFmt *fmttests.werrNoFmt *fmttests.werrNoFmt @@ -751,5 +817,5 @@ github.com/cockroachdb/errors/fmttests/*fmttests.werrNoFmt (*::) github.com/cockroachdb/errors/fmttests/*fmttests.werrFmt (*::) == Exception 1 (Module: "error domain: ") Type: "*fmttests.errNoFmt" -Title: "×\n×: ×\n×: ×\n×: ×\n×" +Title: "×: ×: ×: ×" (NO STACKTRACE) diff --git a/fmttests/testdata/format/wrap-fmt b/fmttests/testdata/format/wrap-fmt index 1cbf76a..7e74c24 100644 --- a/fmttests/testdata/format/wrap-fmt +++ b/fmttests/testdata/format/wrap-fmt @@ -6,8 +6,8 @@ require (?s) ---- &assert.withAssertionFailure{ cause: &withstack.withStack{ - cause: &barriers.barrierError{ - msg: "innerone\ninnertwo", + cause: &barriers.barrierErr{ + smsg: "‹innerone›\n‹innertwo›", maskedErr: &fmttests.errFmt{msg:"innerone\ninnertwo"}, }, stack: &stack{...}, @@ -19,8 +19,8 @@ require (?s) == %#v &assert.withAssertionFailure{ cause: &withstack.withStack{ - cause: &barriers.barrierError{ - msg: "innerone\ninnertwo", + cause: &barriers.barrierErr{ + smsg: "‹innerone›\n‹innertwo›", maskedErr: &fmttests.errFmt{msg:"innerone\ninnertwo"}, }, stack: &stack{...}, @@ -73,7 +73,7 @@ Wraps: (3) innerone | | innertwo's | | multi-line leaf payload | Error types: (1) *fmttests.errFmt -Error types: (1) *assert.withAssertionFailure (2) *withstack.withStack (3) *barriers.barrierError +Error types: (1) *assert.withAssertionFailure (2) *withstack.withStack (3) *barriers.barrierErr == %#v via Formattable() = %#v, good == %v via Formattable() = Error(), good == %s via Formattable() = %v via Formattable(), good @@ -129,24 +129,61 @@ Wraps: (3) ‹innerone› | ‹ | innertwo's› | ‹ | multi-line leaf payload› | Error types: (1) *fmttests.errFmt -Error types: (1) *assert.withAssertionFailure (2) *withstack.withStack (3) *barriers.barrierError +Error types: (1) *assert.withAssertionFailure (2) *withstack.withStack (3) *barriers.barrierErr ===== ===== Sentry reporting ===== == Message payload :: × -× --- -*barriers.barrierError +(1) assertion failure +Wraps: (2) attached stack trace + -- stack trace: + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (3) × + | × + | -- cause hidden behind barrier + | × + | (1) ×× + | × + | × + | × + | × + | Error types: (1) *fmttests.errFmt +Error types: (1) *assert.withAssertionFailure (2) *withstack.withStack (3) *barriers.barrierErr +-- report composition: +*barriers.barrierErr: masked error: × :: *withstack.withStack (top exception) *assert.withAssertionFailure == Extra "error types" -github.com/cockroachdb/errors/barriers/*barriers.barrierError (*::) +github.com/cockroachdb/errors/barriers/*barriers.barrierErr (*::) github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) github.com/cockroachdb/errors/assert/*assert.withAssertionFailure (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*barriers.barrierError: ×\n×\nvia *withstack.withStack" +Title: "*barriers.barrierErr: ×\nvia *withstack.withStack" :: (runtime) goexit() :: @@ -181,8 +218,8 @@ require (?s)outerthree.*outerfour.* &assert.withAssertionFailure{ cause: &withstack.withStack{ cause: &errutil.withPrefix{ - cause: &barriers.barrierError{ - msg: "innerone\ninnertwo", + cause: &barriers.barrierErr{ + smsg: "‹innerone›\n‹innertwo›", maskedErr: &fmttests.errFmt{msg:"innerone\ninnertwo"}, }, prefix: "assertmsg: ‹outerthree›\n‹outerfour›", @@ -197,8 +234,8 @@ require (?s)outerthree.*outerfour.* &assert.withAssertionFailure{ cause: &withstack.withStack{ cause: &errutil.withPrefix{ - cause: &barriers.barrierError{ - msg: "innerone\ninnertwo", + cause: &barriers.barrierErr{ + smsg: "‹innerone›\n‹innertwo›", maskedErr: &fmttests.errFmt{msg:"innerone\ninnertwo"}, }, prefix: "assertmsg: ‹outerthree›\n‹outerfour›", @@ -256,7 +293,7 @@ Wraps: (4) innerone | | innertwo's | | multi-line leaf payload | Error types: (1) *fmttests.errFmt -Error types: (1) *assert.withAssertionFailure (2) *withstack.withStack (3) *errutil.withPrefix (4) *barriers.barrierError +Error types: (1) *assert.withAssertionFailure (2) *withstack.withStack (3) *errutil.withPrefix (4) *barriers.barrierErr == %#v via Formattable() = %#v, good == %v via Formattable() = Error(), good == %s via Formattable() = %v via Formattable(), good @@ -315,31 +352,65 @@ Wraps: (4) ‹innerone› | ‹ | innertwo's› | ‹ | multi-line leaf payload› | Error types: (1) *fmttests.errFmt -Error types: (1) *assert.withAssertionFailure (2) *withstack.withStack (3) *errutil.withPrefix (4) *barriers.barrierError +Error types: (1) *assert.withAssertionFailure (2) *withstack.withStack (3) *errutil.withPrefix (4) *barriers.barrierErr ===== ===== Sentry reporting ===== == Message payload -:: assertmsg: × -×: × -× --- -*barriers.barrierError -*errutil.withPrefix: assertmsg: × (1) +:: assertmsg: ×: × +(1) assertion failure +Wraps: (2) attached stack trace + -- stack trace: + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (3) assertmsg: × + | × +Wraps: (4) × + | × + | -- cause hidden behind barrier + | × + | (1) ×× + | × + | × + | × + | × + | Error types: (1) *fmttests.errFmt +Error types: (1) *assert.withAssertionFailure (2) *withstack.withStack (3) *errutil.withPrefix (4) *barriers.barrierErr +-- report composition: +*barriers.barrierErr: masked error: × +*errutil.withPrefix: assertmsg: × :: *withstack.withStack (top exception) *assert.withAssertionFailure -(check the extra data payloads) -== Extra "1: details" -assertmsg: × - × == Extra "error types" -github.com/cockroachdb/errors/barriers/*barriers.barrierError (*::) +github.com/cockroachdb/errors/barriers/*barriers.barrierErr (*::) github.com/cockroachdb/errors/errutil/*errutil.withPrefix (*::) github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) github.com/cockroachdb/errors/assert/*assert.withAssertionFailure (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*barriers.barrierError: assertmsg: ×\n×: ×\n×\nvia *withstack.withStack" +Title: "*barriers.barrierErr: assertmsg: ×: ×\nvia *withstack.withStack" :: (runtime) goexit() :: @@ -371,16 +442,16 @@ barrier outerthree outerfour require (?s) ---- -&barriers.barrierError{ - msg: "innerone\ninnertwo", +&barriers.barrierErr{ + smsg: "‹innerone›\n‹innertwo›", maskedErr: &fmttests.errFmt{msg:"innerone\ninnertwo"}, } ===== ===== non-redactable formats ===== == %#v -&barriers.barrierError{ - msg: "innerone\ninnertwo", +&barriers.barrierErr{ + smsg: "‹innerone›\n‹innertwo›", maskedErr: &fmttests.errFmt{msg:"innerone\ninnertwo"}, } == Error() @@ -403,7 +474,7 @@ innerone | | innertwo's | | multi-line leaf payload | Error types: (1) *fmttests.errFmt -Error types: (1) *barriers.barrierError +Error types: (1) *barriers.barrierErr == %#v via Formattable() = %#v, good == %v via Formattable() = Error(), good == %s via Formattable() = %v via Formattable(), good @@ -432,20 +503,30 @@ Error types: (1) *barriers.barrierError | ‹ | innertwo's› | ‹ | multi-line leaf payload› | Error types: (1) *fmttests.errFmt -Error types: (1) *barriers.barrierError +Error types: (1) *barriers.barrierErr ===== ===== Sentry reporting ===== == Message payload × -× --- -*barriers.barrierError +(1) × + | × + | -- cause hidden behind barrier + | × + | (1) ×× + | × + | × + | × + | × + | Error types: (1) *fmttests.errFmt +Error types: (1) *barriers.barrierErr +-- report composition: +*barriers.barrierErr: masked error: × == Extra "error types" -github.com/cockroachdb/errors/barriers/*barriers.barrierError (*::) +github.com/cockroachdb/errors/barriers/*barriers.barrierErr (*::) == Exception 1 (Module: "error domain: ") -Type: "*barriers.barrierError" -Title: "×\n×" +Type: "*barriers.barrierErr" +Title: "×" (NO STACKTRACE) run @@ -520,10 +601,18 @@ Error types: (1) *fmttests.werrDelegate (2) *fmttests.errFmt ===== Sentry reporting ===== == Message payload -× ×: × +(1) ×× +× +× +× +Wraps: (2) ×× +× +× +× × --- +Error types: (1) *fmttests.werrDelegate (2) *fmttests.errFmt +-- report composition: *fmttests.errFmt *fmttests.werrDelegate == Extra "error types" @@ -531,7 +620,7 @@ github.com/cockroachdb/errors/fmttests/*fmttests.errFmt (*::) github.com/cockroachdb/errors/fmttests/*fmttests.werrDelegate (*::) == Exception 1 (Module: "error domain: ") Type: "*fmttests.errFmt" -Title: "×\n×: ×\n×" +Title: "×: ×" (NO STACKTRACE) run @@ -597,8 +686,14 @@ Error types: (1) *fmttests.werrDelegateEmpty (2) *fmttests.errFmt ===== == Message payload × +(1) +Wraps: (2) ×× +× +× × --- +× +Error types: (1) *fmttests.werrDelegateEmpty (2) *fmttests.errFmt +-- report composition: *fmttests.errFmt *fmttests.werrDelegateEmpty == Extra "error types" @@ -606,7 +701,7 @@ github.com/cockroachdb/errors/fmttests/*fmttests.errFmt (*::) github.com/cockroachdb/errors/fmttests/*fmttests.werrDelegateEmpty (*::) == Exception 1 (Module: "error domain: ") Type: "*fmttests.errFmt" -Title: "×\n×" +Title: "×" (NO STACKTRACE) run @@ -672,8 +767,14 @@ Error types: (1) *fmttests.werrDelegateNoPrefix (2) *fmttests.errFmt ===== == Message payload × +(1) × +Wraps: (2) ×× +× +× × --- +× +Error types: (1) *fmttests.werrDelegateNoPrefix (2) *fmttests.errFmt +-- report composition: *fmttests.errFmt *fmttests.werrDelegateNoPrefix == Extra "error types" @@ -681,7 +782,7 @@ github.com/cockroachdb/errors/fmttests/*fmttests.errFmt (*::) github.com/cockroachdb/errors/fmttests/*fmttests.werrDelegateNoPrefix (*::) == Exception 1 (Module: "error domain: ") Type: "*fmttests.errFmt" -Title: "×\n×" +Title: "×" (NO STACKTRACE) run @@ -751,8 +852,15 @@ Error types: (1) *hintdetail.withDetail (2) *fmttests.errFmt ===== == Message payload × +(1) × +× +Wraps: (2) ×× +× × --- +× +× +Error types: (1) *hintdetail.withDetail (2) *fmttests.errFmt +-- report composition: *fmttests.errFmt *hintdetail.withDetail == Extra "error types" @@ -760,7 +868,7 @@ github.com/cockroachdb/errors/fmttests/*fmttests.errFmt (*::) github.com/cockroachdb/errors/hintdetail/*hintdetail.withDetail (*::) == Exception 1 (Module: "error domain: ") Type: "*fmttests.errFmt" -Title: "×\n×" +Title: "×" (NO STACKTRACE) run @@ -828,19 +936,22 @@ Error types: (1) *domains.withDomain (2) *fmttests.errFmt ===== == Message payload × +(1) mydomain +Wraps: (2) ×× +× +× +× × --- +Error types: (1) *domains.withDomain (2) *fmttests.errFmt +-- report composition: *fmttests.errFmt -*domains.withDomain: mydomain (1) -(check the extra data payloads) -== Extra "1: details" -mydomain +*domains.withDomain: mydomain == Extra "error types" github.com/cockroachdb/errors/fmttests/*fmttests.errFmt (*::) github.com/cockroachdb/errors/domains/*domains.withDomain (*::mydomain) == Exception 1 (Module: "mydomain") Type: "*fmttests.errFmt" -Title: "×\n×" +Title: "×" (NO STACKTRACE) run @@ -910,8 +1021,15 @@ Error types: (1) *fmttests.werrWithElidedCause (2) *fmttests.errFmt ===== == Message payload × +(1) ×× +× +Wraps: (2) ×× +× × --- +× +× +Error types: (1) *fmttests.werrWithElidedCause (2) *fmttests.errFmt +-- report composition: *fmttests.errFmt *fmttests.werrWithElidedCause == Extra "error types" @@ -919,7 +1037,7 @@ github.com/cockroachdb/errors/fmttests/*fmttests.errFmt (*::) github.com/cockroachdb/errors/fmttests/*fmttests.werrWithElidedCause (*::) == Exception 1 (Module: "error domain: ") Type: "*fmttests.errFmt" -Title: "×\n×" +Title: "×" (NO STACKTRACE) run @@ -985,8 +1103,14 @@ Error types: (1) *fmttests.werrEmpty (2) *fmttests.errFmt ===== == Message payload × +(1) +Wraps: (2) ×× +× +× +× × --- +Error types: (1) *fmttests.werrEmpty (2) *fmttests.errFmt +-- report composition: *fmttests.errFmt *fmttests.werrEmpty == Extra "error types" @@ -994,7 +1118,7 @@ github.com/cockroachdb/errors/fmttests/*fmttests.errFmt (*::) github.com/cockroachdb/errors/fmttests/*fmttests.werrEmpty (*::) == Exception 1 (Module: "error domain: ") Type: "*fmttests.errFmt" -Title: "×\n×" +Title: "×" (NO STACKTRACE) run @@ -1071,10 +1195,19 @@ Error types: (1) *fmttests.werrFmt (2) *fmttests.errFmt ===== Sentry reporting ===== == Message payload -× ×: × +(1) ×× +× +× +× +× +Wraps: (2) ×× +× +× × --- +× +Error types: (1) *fmttests.werrFmt (2) *fmttests.errFmt +-- report composition: *fmttests.errFmt *fmttests.werrFmt == Extra "error types" @@ -1082,7 +1215,7 @@ github.com/cockroachdb/errors/fmttests/*fmttests.errFmt (*::) github.com/cockroachdb/errors/fmttests/*fmttests.werrFmt (*::) == Exception 1 (Module: "error domain: ") Type: "*fmttests.errFmt" -Title: "×\n×: ×\n×" +Title: "×: ×" (NO STACKTRACE) run @@ -1167,10 +1300,16 @@ Error types: (1) *fmttests.werrFmto (2) *fmttests.errFmt ===== Sentry reporting ===== == Message payload -× ×: × +(1) ×× +× +Wraps: (2) ×× +× +× +× × --- +Error types: (1) *fmttests.werrFmto (2) *fmttests.errFmt +-- report composition: *fmttests.errFmt *fmttests.werrFmto == Extra "error types" @@ -1178,7 +1317,7 @@ github.com/cockroachdb/errors/fmttests/*fmttests.errFmt (*::) github.com/cockroachdb/errors/fmttests/*fmttests.werrFmto (*::) == Exception 1 (Module: "error domain: ") Type: "*fmttests.errFmt" -Title: "×\n×: ×\n×" +Title: "×: ×" (NO STACKTRACE) run @@ -1263,10 +1402,16 @@ Error types: (1) *fmttests.werrFmtoDelegate (2) *fmttests.errFmt ===== Sentry reporting ===== == Message payload -× ×: × +(1) ×× +× +Wraps: (2) ×× +× × --- +× +× +Error types: (1) *fmttests.werrFmtoDelegate (2) *fmttests.errFmt +-- report composition: *fmttests.errFmt *fmttests.werrFmtoDelegate == Extra "error types" @@ -1274,7 +1419,7 @@ github.com/cockroachdb/errors/fmttests/*fmttests.errFmt (*::) github.com/cockroachdb/errors/fmttests/*fmttests.werrFmtoDelegate (*::) == Exception 1 (Module: "error domain: ") Type: "*fmttests.errFmt" -Title: "×\n×: ×\n×" +Title: "×: ×" (NO STACKTRACE) run @@ -1345,10 +1490,16 @@ Error types: (1) *fmttests.werrFmtp (2) *fmttests.errFmt ===== Sentry reporting ===== == Message payload -× ×: × +(1) ×× × --- +Wraps: (2) ×× +× +× +× +× +Error types: (1) *fmttests.werrFmtp (2) *fmttests.errFmt +-- report composition: *fmttests.errFmt *fmttests.werrFmtp == Extra "error types" @@ -1356,7 +1507,7 @@ github.com/cockroachdb/errors/fmttests/*fmttests.errFmt (*::) github.com/cockroachdb/errors/fmttests/*fmttests.werrFmtp (*::) == Exception 1 (Module: "error domain: ") Type: "*fmttests.errFmt" -Title: "×\n×: ×\n×" +Title: "×: ×" (NO STACKTRACE) run @@ -1431,10 +1582,16 @@ Error types: (1) *fmt.wrapError (2) *fmttests.errFmt ===== Sentry reporting ===== == Message payload -× ×: × +(1) ×× +× +Wraps: (2) ×× × --- +× +× +× +Error types: (1) *fmt.wrapError (2) *fmttests.errFmt +-- report composition: *fmttests.errFmt *fmt.wrapError == Extra "error types" @@ -1442,7 +1599,7 @@ github.com/cockroachdb/errors/fmttests/*fmttests.errFmt (*::) fmt/*fmt.wrapError (*::) == Exception 1 (Module: "error domain: ") Type: "*fmttests.errFmt" -Title: "×\n×: ×\n×" +Title: "×: ×" (NO STACKTRACE) run @@ -1452,8 +1609,8 @@ handled-domain outerthree outerfour require (?s) ---- &domains.withDomain{ - cause: &barriers.barrierError{ - msg: "innerone\ninnertwo", + cause: &barriers.barrierErr{ + smsg: "‹innerone›\n‹innertwo›", maskedErr: &fmttests.errFmt{msg:"innerone\ninnertwo"}, }, domain: "error domain: pkg ", @@ -1463,8 +1620,8 @@ require (?s) ===== == %#v &domains.withDomain{ - cause: &barriers.barrierError{ - msg: "innerone\ninnertwo", + cause: &barriers.barrierErr{ + smsg: "‹innerone›\n‹innertwo›", maskedErr: &fmttests.errFmt{msg:"innerone\ninnertwo"}, }, domain: "error domain: pkg ", @@ -1490,7 +1647,7 @@ Wraps: (2) innerone | | innertwo's | | multi-line leaf payload | Error types: (1) *fmttests.errFmt -Error types: (1) *domains.withDomain (2) *barriers.barrierError +Error types: (1) *domains.withDomain (2) *barriers.barrierErr == %#v via Formattable() = %#v, good == %v via Formattable() = Error(), good == %s via Formattable() = %v via Formattable(), good @@ -1520,25 +1677,33 @@ Wraps: (2) ‹innerone› | ‹ | innertwo's› | ‹ | multi-line leaf payload› | Error types: (1) *fmttests.errFmt -Error types: (1) *domains.withDomain (2) *barriers.barrierError +Error types: (1) *domains.withDomain (2) *barriers.barrierErr ===== ===== Sentry reporting ===== == Message payload × -× --- -*barriers.barrierError -*domains.withDomain: error domain: pkg (1) -(check the extra data payloads) -== Extra "1: details" -error domain: pkg +(1) error domain: pkg +Wraps: (2) × + | × + | -- cause hidden behind barrier + | × + | (1) ×× + | × + | × + | × + | × + | Error types: (1) *fmttests.errFmt +Error types: (1) *domains.withDomain (2) *barriers.barrierErr +-- report composition: +*barriers.barrierErr: masked error: × +*domains.withDomain: error domain: pkg == Extra "error types" -github.com/cockroachdb/errors/barriers/*barriers.barrierError (*::) +github.com/cockroachdb/errors/barriers/*barriers.barrierErr (*::) github.com/cockroachdb/errors/domains/*domains.withDomain (*::error domain: pkg ) == Exception 1 (Module: "error domain: pkg ") -Type: "*barriers.barrierError" -Title: "×\n×" +Type: "*barriers.barrierErr" +Title: "×" (NO STACKTRACE) run @@ -1608,8 +1773,15 @@ Error types: (1) *hintdetail.withHint (2) *fmttests.errFmt ===== == Message payload × +(1) × +× +Wraps: (2) ×× × --- +× +× +× +Error types: (1) *hintdetail.withHint (2) *fmttests.errFmt +-- report composition: *fmttests.errFmt *hintdetail.withHint == Extra "error types" @@ -1617,7 +1789,7 @@ github.com/cockroachdb/errors/fmttests/*fmttests.errFmt (*::) github.com/cockroachdb/errors/hintdetail/*hintdetail.withHint (*::) == Exception 1 (Module: "error domain: ") Type: "*fmttests.errFmt" -Title: "×\n×" +Title: "×" (NO STACKTRACE) run @@ -1689,21 +1861,24 @@ Error types: (1) *issuelink.withIssueLink (2) *fmttests.errFmt ===== == Message payload × +(1) issue: https://mysite + | detail: outerthree + | outerfour +Wraps: (2) ×× +× +× × --- +× +Error types: (1) *issuelink.withIssueLink (2) *fmttests.errFmt +-- report composition: *fmttests.errFmt -*issuelink.withIssueLink: https://mysite (1) -(check the extra data payloads) -== Extra "1: details" -https://mysite -outerthree - outerfour +*issuelink.withIssueLink: https://mysite == Extra "error types" github.com/cockroachdb/errors/fmttests/*fmttests.errFmt (*::) github.com/cockroachdb/errors/issuelink/*issuelink.withIssueLink (*::) == Exception 1 (Module: "error domain: ") Type: "*fmttests.errFmt" -Title: "×\n×" +Title: "×" (NO STACKTRACE) run @@ -1769,8 +1944,14 @@ Error types: (1) *fmttests.werrMigrated (2) *fmttests.errFmt ===== == Message payload × +(1) +Wraps: (2) ×× +× × --- +× +× +Error types: (1) *fmttests.werrMigrated (2) *fmttests.errFmt +-- report composition: *fmttests.errFmt *fmttests.werrMigrated == Extra "error types" @@ -1778,7 +1959,7 @@ github.com/cockroachdb/errors/fmttests/*fmttests.errFmt (*::) github.com/cockroachdb/errors/fmttests/*fmttests.werrMigrated (some/previous/path/prevpkg.prevType::) == Exception 1 (Module: "error domain: ") Type: "*fmttests.errFmt" -Title: "×\n×" +Title: "×" (NO STACKTRACE) run @@ -1849,22 +2030,24 @@ Error types: (1) *errutil.withPrefix (2) *fmttests.errFmt ===== Sentry reporting ===== == Message payload -outerthree -outerfour: × +outerthree: × +(1) outerthree + | outerfour +Wraps: (2) ×× +× +× × --- +× +Error types: (1) *errutil.withPrefix (2) *fmttests.errFmt +-- report composition: *fmttests.errFmt -*errutil.withPrefix: outerthree (1) -(check the extra data payloads) -== Extra "1: details" -outerthree - outerfour +*errutil.withPrefix: outerthree == Extra "error types" github.com/cockroachdb/errors/fmttests/*fmttests.errFmt (*::) github.com/cockroachdb/errors/errutil/*errutil.withPrefix (*::) == Exception 1 (Module: "error domain: ") Type: "*fmttests.errFmt" -Title: "outerthree\nouterfour: ×\n×" +Title: "outerthree: ×" (NO STACKTRACE) run @@ -2018,18 +2201,54 @@ Error types: (1) *withstack.withStack (2) *secondary.withSecondaryError (3) *err ===== == Message payload :: new-style (× -×) :: × -× :: --- +(1) attached stack trace + -- stack trace: + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (2) secondary error attachment + | × + | (1) ×× + | × + | × + | × + | × + | Error types: (1) *fmttests.errFmt +Wraps: (3) new-style (× + | ×) :: × + | × :: +Wraps: (4) ×× +× +× +× +× +Error types: (1) *withstack.withStack (2) *secondary.withSecondaryError (3) *errutil.withNewMessage (4) *fmttests.errFmt +-- report composition: *fmttests.errFmt -*errutil.withNewMessage: new-style (× (1) +*errutil.withNewMessage: new-style (× *secondary.withSecondaryError :: *withstack.withStack (top exception) -(check the extra data payloads) -== Extra "1: details" -new-style (× - ×) :: × - × :: == Extra "error types" github.com/cockroachdb/errors/fmttests/*fmttests.errFmt (*::) github.com/cockroachdb/errors/errutil/*errutil.withNewMessage (*::) @@ -2037,7 +2256,7 @@ github.com/cockroachdb/errors/secondary/*secondary.withSecondaryError (*::) github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*fmttests.errFmt: new-style (×\n×) :: ×\n× ::\nvia *withstack.withStack" +Title: "*fmttests.errFmt: new-style (×\nvia *withstack.withStack" :: (runtime) goexit() :: @@ -2135,10 +2354,16 @@ Error types: (1) *fmttests.werrNoFmt (2) *fmttests.errFmt ===== Sentry reporting ===== == Message payload -× ×: × +(1) ×× +× +Wraps: (2) ×× +× × --- +× +× +Error types: (1) *fmttests.werrNoFmt (2) *fmttests.errFmt +-- report composition: *fmttests.errFmt *fmttests.werrNoFmt == Extra "error types" @@ -2146,7 +2371,7 @@ github.com/cockroachdb/errors/fmttests/*fmttests.errFmt (*::) github.com/cockroachdb/errors/fmttests/*fmttests.werrNoFmt (*::) == Exception 1 (Module: "error domain: ") Type: "*fmttests.errFmt" -Title: "×\n×: ×\n×" +Title: "×: ×" (NO STACKTRACE) run @@ -2222,8 +2447,14 @@ Error types: (1) *os.LinkError (2) *fmttests.errFmt ===== == Message payload link × ×: × +(1) link × × +Wraps: (2) ×× +× × --- +× +× +Error types: (1) *os.LinkError (2) *fmttests.errFmt +-- report composition: *fmttests.errFmt *os.LinkError == Extra "error types" @@ -2231,7 +2462,7 @@ github.com/cockroachdb/errors/fmttests/*fmttests.errFmt (*::) os/*os.LinkError (*::) == Exception 1 (Module: "error domain: ") Type: "*fmttests.errFmt" -Title: "link × ×: ×\n×" +Title: "link × ×: ×" (NO STACKTRACE) run @@ -2309,8 +2540,14 @@ Error types: (1) *net.OpError (2) *fmttests.errFmt ===== == Message payload send tcp ×: × +(1) send tcp × +Wraps: (2) ×× × --- +× +× +× +Error types: (1) *net.OpError (2) *fmttests.errFmt +-- report composition: *fmttests.errFmt *net.OpError == Extra "error types" @@ -2318,7 +2555,7 @@ github.com/cockroachdb/errors/fmttests/*fmttests.errFmt (*::) net/*net.OpError (*::) == Exception 1 (Module: "error domain: ") Type: "*fmttests.errFmt" -Title: "send tcp ×: ×\n×" +Title: "send tcp ×: ×" (NO STACKTRACE) run @@ -2392,8 +2629,14 @@ Error types: (1) *fs.PathError (2) *fmttests.errFmt ===== == Message payload link ×: × +(1) link × +Wraps: (2) ×× × --- +× +× +× +Error types: (1) *fs.PathError (2) *fmttests.errFmt +-- report composition: *fmttests.errFmt *fs.PathError == Extra "error types" @@ -2401,7 +2644,7 @@ github.com/cockroachdb/errors/fmttests/*fmttests.errFmt (*::) io/fs/*fs.PathError (os/*os.PathError::) == Exception 1 (Module: "error domain: ") Type: "*fmttests.errFmt" -Title: "link ×: ×\n×" +Title: "link ×: ×" (NO STACKTRACE) run @@ -2473,8 +2716,14 @@ Error types: (1) *os.SyscallError (2) *fmttests.errFmt ===== == Message payload open: × +(1) open +Wraps: (2) ×× +× +× +× × --- +Error types: (1) *os.SyscallError (2) *fmttests.errFmt +-- report composition: *fmttests.errFmt *os.SyscallError == Extra "error types" @@ -2482,7 +2731,7 @@ github.com/cockroachdb/errors/fmttests/*fmttests.errFmt (*::) os/*os.SyscallError (*::) == Exception 1 (Module: "error domain: ") Type: "*fmttests.errFmt" -Title: "open: ×\n×" +Title: "open: ×" (NO STACKTRACE) run @@ -2575,10 +2824,16 @@ Error types: (1) *errors.withMessage (2) *fmttests.errFmt ===== Sentry reporting ===== == Message payload -× ×: × +(1) ×× +× +Wraps: (2) ×× × --- +× +× +× +Error types: (1) *errors.withMessage (2) *fmttests.errFmt +-- report composition: *fmttests.errFmt *errors.withMessage == Extra "error types" @@ -2586,7 +2841,7 @@ github.com/cockroachdb/errors/fmttests/*fmttests.errFmt (*::) github.com/pkg/errors/*errors.withMessage (*::) == Exception 1 (Module: "error domain: ") Type: "*fmttests.errFmt" -Title: "×\n×: ×\n×" +Title: "×: ×" (NO STACKTRACE) run @@ -2744,8 +2999,39 @@ Error types: (1) *errors.withStack (2) *fmttests.errFmt ===== == Message payload :: × +(1) + -- stack trace: + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (2) ×× × --- +× +× +× +Error types: (1) *errors.withStack (2) *fmttests.errFmt +-- report composition: *fmttests.errFmt :: *errors.withStack (top exception) == Extra "error types" @@ -2753,7 +3039,7 @@ github.com/cockroachdb/errors/fmttests/*fmttests.errFmt (*::) github.com/pkg/errors/*errors.withStack (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*fmttests.errFmt: ×\n×\nvia *errors.withStack" +Title: "*fmttests.errFmt: ×\nvia *errors.withStack" :: (runtime) goexit() :: @@ -2846,20 +3132,23 @@ Error types: (1) *safedetails.withSafeDetails (2) *fmttests.errFmt ===== == Message payload × +(1) safe × + | × +Wraps: (2) ×× +× × --- +× +× +Error types: (1) *safedetails.withSafeDetails (2) *fmttests.errFmt +-- report composition: *fmttests.errFmt -*safedetails.withSafeDetails: safe × (1) -(check the extra data payloads) -== Extra "1: details" -safe × - × +*safedetails.withSafeDetails: safe × == Extra "error types" github.com/cockroachdb/errors/fmttests/*fmttests.errFmt (*::) github.com/cockroachdb/errors/safedetails/*safedetails.withSafeDetails (*::) == Exception 1 (Module: "error domain: ") Type: "*fmttests.errFmt" -Title: "×\n×" +Title: "×" (NO STACKTRACE) run @@ -2930,10 +3219,16 @@ Error types: (1) *fmttests.werrSafeFormat (2) *fmttests.errFmt ===== Sentry reporting ===== == Message payload -safe × -×: × +safe ×: × +(1) safe × + | × +Wraps: (2) ×× +× × --- +× +× +Error types: (1) *fmttests.werrSafeFormat (2) *fmttests.errFmt +-- report composition: *fmttests.errFmt *fmttests.werrSafeFormat == Extra "error types" @@ -2941,7 +3236,7 @@ github.com/cockroachdb/errors/fmttests/*fmttests.errFmt (*::) github.com/cockroachdb/errors/fmttests/*fmttests.werrSafeFormat (*::) == Exception 1 (Module: "error domain: ") Type: "*fmttests.errFmt" -Title: "safe ×\n×: ×\n×" +Title: "safe ×: ×" (NO STACKTRACE) run @@ -2950,7 +3245,6 @@ secondary outerthree outerfour require (?s) ---- ----- &secondary.withSecondaryError{ cause: &fmttests.errFmt{msg:"innerone\ninnertwo"}, secondaryError: &withstack.withStack{ @@ -3076,50 +3370,53 @@ Error types: (1) *secondary.withSecondaryError (2) *fmttests.errFmt ===== == Message payload × +(1) secondary error attachment + | outerthree + | (1) attached stack trace + | -- stack trace: + | | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | | : + | | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | | : + | | github.com/cockroachdb/datadriven.runDirective.func1 + | | : + | | github.com/cockroachdb/datadriven.runDirective + | | : + | | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | | : + | | github.com/cockroachdb/datadriven.runTestInternal + | | : + | | github.com/cockroachdb/datadriven.RunTest + | | : + | | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | | : + | | github.com/cockroachdb/datadriven.Walk + | | : + | | github.com/cockroachdb/datadriven.Walk.func1 + | | : + | | testing.tRunner + | | : + | | runtime.goexit + | | : + | Wraps: (2) outerthree + | | outerfour + | Error types: (1) *withstack.withStack (2) *errutil.leafError +Wraps: (2) ×× +× +× +× × --- +Error types: (1) *secondary.withSecondaryError (2) *fmttests.errFmt +-- report composition: *fmttests.errFmt -*secondary.withSecondaryError: details for github.com/cockroachdb/errors/withstack/*withstack.withStack::: (1) -(check the extra data payloads) -== Extra "1: details" -details for github.com/cockroachdb/errors/withstack/*withstack.withStack::: - - github.com/cockroachdb/errors/fmttests.glob...funcNN... - : - github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 - : - github.com/cockroachdb/datadriven.runDirective.func1 - : - github.com/cockroachdb/datadriven.runDirective - : - github.com/cockroachdb/datadriven.runDirectiveOrSubTest - : - github.com/cockroachdb/datadriven.runTestInternal - : - github.com/cockroachdb/datadriven.RunTest - : - github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 - : - github.com/cockroachdb/datadriven.Walk - : - github.com/cockroachdb/datadriven.Walk.func1 - : - testing.tRunner - : - runtime.goexit - : -details for github.com/cockroachdb/errors/errutil/*errutil.leafError::: - outerthree - outerfour +*secondary.withSecondaryError: details for github.com/cockroachdb/errors/withstack/*withstack.withStack::: == Extra "error types" github.com/cockroachdb/errors/fmttests/*fmttests.errFmt (*::) github.com/cockroachdb/errors/secondary/*secondary.withSecondaryError (*::) == Exception 1 (Module: "error domain: ") Type: "*fmttests.errFmt" -Title: "×\n×" +Title: "×" (NO STACKTRACE) ----- ----- run fmt innerone innertwo @@ -3236,8 +3533,39 @@ Error types: (1) *withstack.withStack (2) *fmttests.errFmt ===== == Message payload :: × +(1) attached stack trace + -- stack trace: + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (2) ×× × --- +× +× +× +Error types: (1) *withstack.withStack (2) *fmttests.errFmt +-- report composition: *fmttests.errFmt :: *withstack.withStack (top exception) == Extra "error types" @@ -3245,7 +3573,7 @@ github.com/cockroachdb/errors/fmttests/*fmttests.errFmt (*::) github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*fmttests.errFmt: ×\n×\nvia *withstack.withStack" +Title: "*fmttests.errFmt: ×\nvia *withstack.withStack" :: (runtime) goexit() :: @@ -3392,20 +3720,22 @@ Error types: (1) *contexttags.withContext (2) *fmttests.errFmt ===== == Message payload × +(1) tags: [k×,safe=456] +Wraps: (2) ×× +× +× +× × --- +Error types: (1) *contexttags.withContext (2) *fmttests.errFmt +-- report composition: *fmttests.errFmt -*contexttags.withContext: k× (1) -(check the extra data payloads) -== Extra "1: details" -k× -safe=456 +*contexttags.withContext: k× == Extra "error types" github.com/cockroachdb/errors/fmttests/*fmttests.errFmt (*::) github.com/cockroachdb/errors/contexttags/*contexttags.withContext (*::) == Exception 1 (Module: "error domain: ") Type: "*fmttests.errFmt" -Title: "×\n×" +Title: "×" (NO STACKTRACE) run @@ -3475,21 +3805,23 @@ Error types: (1) *telemetrykeys.withTelemetry (2) *fmttests.errFmt ===== == Message payload × +(1) keys: [somekey outerthree + | outerfour] +Wraps: (2) ×× +× × --- +× +× +Error types: (1) *telemetrykeys.withTelemetry (2) *fmttests.errFmt +-- report composition: *fmttests.errFmt -*telemetrykeys.withTelemetry: somekey (1) -(check the extra data payloads) -== Extra "1: details" -somekey -outerthree - outerfour +*telemetrykeys.withTelemetry: somekey == Extra "error types" github.com/cockroachdb/errors/fmttests/*fmttests.errFmt (*::) github.com/cockroachdb/errors/telemetrykeys/*telemetrykeys.withTelemetry (*::) == Exception 1 (Module: "error domain: ") Type: "*fmttests.errFmt" -Title: "×\n×" +Title: "×" (NO STACKTRACE) run @@ -3618,24 +3950,52 @@ Error types: (1) *withstack.withStack (2) *errutil.withPrefix (3) *fmttests.errF ===== Sentry reporting ===== == Message payload -:: new-stylew × -×: × +:: new-stylew ×: × +(1) attached stack trace + -- stack trace: + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (2) new-stylew × + | × +Wraps: (3) ×× +× × --- +× +× +Error types: (1) *withstack.withStack (2) *errutil.withPrefix (3) *fmttests.errFmt +-- report composition: *fmttests.errFmt -*errutil.withPrefix: new-stylew × (1) +*errutil.withPrefix: new-stylew × :: *withstack.withStack (top exception) -(check the extra data payloads) -== Extra "1: details" -new-stylew × - × == Extra "error types" github.com/cockroachdb/errors/fmttests/*fmttests.errFmt (*::) github.com/cockroachdb/errors/errutil/*errutil.withPrefix (*::) github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*fmttests.errFmt: new-stylew ×\n×: ×\n×\nvia *withstack.withStack" +Title: "*fmttests.errFmt: new-stylew ×: ×\nvia *withstack.withStack" :: (runtime) goexit() :: @@ -3667,7 +4027,6 @@ wrapf-attached outerthree outerfour require (?s)outerthree.*outerfour.* ---- ----- &withstack.withStack{ cause: &secondary.withSecondaryError{ cause: &errutil.withPrefix{ @@ -3860,47 +4219,76 @@ Error types: (1) *withstack.withStack (2) *secondary.withSecondaryError (3) *err ===== Sentry reporting ===== == Message payload -:: new-style × -× (payload): × +:: new-style ×: × +(1) attached stack trace + -- stack trace: + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (2) secondary error attachment + | payload + | (1) attached stack trace + | -- stack trace: + | | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | | : + | | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | | : + | | github.com/cockroachdb/datadriven.runDirective.func1 + | | : + | | github.com/cockroachdb/datadriven.runDirective + | | : + | | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | | : + | | github.com/cockroachdb/datadriven.runTestInternal + | | : + | | github.com/cockroachdb/datadriven.RunTest + | | : + | | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | | : + | | github.com/cockroachdb/datadriven.Walk + | | : + | | github.com/cockroachdb/datadriven.Walk.func1 + | | : + | | testing.tRunner + | | : + | | runtime.goexit + | | : + | Wraps: (2) payload + | Error types: (1) *withstack.withStack (2) *errutil.leafError +Wraps: (3) new-style × + | × (payload) +Wraps: (4) ×× +× +× +× × --- +Error types: (1) *withstack.withStack (2) *secondary.withSecondaryError (3) *errutil.withPrefix (4) *fmttests.errFmt +-- report composition: *fmttests.errFmt -*errutil.withPrefix: new-style × (1) -*secondary.withSecondaryError: details for github.com/cockroachdb/errors/withstack/*withstack.withStack::: (2) +*errutil.withPrefix: new-style × +*secondary.withSecondaryError: details for github.com/cockroachdb/errors/withstack/*withstack.withStack::: :: *withstack.withStack (top exception) -(check the extra data payloads) -== Extra "1: details" -new-style × - × (payload) -== Extra "2: details" -details for github.com/cockroachdb/errors/withstack/*withstack.withStack::: - - github.com/cockroachdb/errors/fmttests.glob...funcNN... - : - github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 - : - github.com/cockroachdb/datadriven.runDirective.func1 - : - github.com/cockroachdb/datadriven.runDirective - : - github.com/cockroachdb/datadriven.runDirectiveOrSubTest - : - github.com/cockroachdb/datadriven.runTestInternal - : - github.com/cockroachdb/datadriven.RunTest - : - github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 - : - github.com/cockroachdb/datadriven.Walk - : - github.com/cockroachdb/datadriven.Walk.func1 - : - testing.tRunner - : - runtime.goexit - : -details for github.com/cockroachdb/errors/errutil/*errutil.leafError::: - payload == Extra "error types" github.com/cockroachdb/errors/fmttests/*fmttests.errFmt (*::) github.com/cockroachdb/errors/errutil/*errutil.withPrefix (*::) @@ -3908,7 +4296,7 @@ github.com/cockroachdb/errors/secondary/*secondary.withSecondaryError (*::) github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*fmttests.errFmt: new-style ×\n× (payload): ×\n×\nvia *withstack.withStack" +Title: "*fmttests.errFmt: new-style ×: ×\nvia *withstack.withStack" :: (runtime) goexit() :: @@ -3933,5 +4321,3 @@ Title: "*fmttests.errFmt: new-style ×\n× (payload): ×\n×\nvia *withstack.wit (github.com/cockroachdb/errors/fmttests.TestDatadriven.func2) 1() :: (github.com/cockroachdb/errors/fmttests.glob.)...funcNN... ----- ----- diff --git a/fmttests/testdata/format/wrap-fmt-via-network b/fmttests/testdata/format/wrap-fmt-via-network index d83d3cc..30635c8 100644 --- a/fmttests/testdata/format/wrap-fmt-via-network +++ b/fmttests/testdata/format/wrap-fmt-via-network @@ -7,8 +7,8 @@ require (?s)innerone.*innertwo ---- &assert.withAssertionFailure{ cause: &errbase.opaqueWrapper{ - cause: &barriers.barrierError{ - msg: "innerone\ninnertwo", + cause: &barriers.barrierErr{ + smsg: "‹innerone›\n‹innertwo›", maskedErr: &errbase.opaqueLeaf{ msg: "innerone\ninnertwo", details: errorspb.EncodedErrorDetails{ @@ -34,8 +34,8 @@ require (?s)innerone.*innertwo == %#v &assert.withAssertionFailure{ cause: &errbase.opaqueWrapper{ - cause: &barriers.barrierError{ - msg: "innerone\ninnertwo", + cause: &barriers.barrierErr{ + smsg: "‹innerone›\n‹innertwo›", maskedErr: &errbase.opaqueLeaf{ msg: "innerone\ninnertwo", details: errorspb.EncodedErrorDetails{ @@ -105,7 +105,7 @@ Wraps: (3) innerone | | (opaque error leaf) | | type name: github.com/cockroachdb/errors/fmttests/*fmttests.errFmt | Error types: (1) *errbase.opaqueLeaf -Error types: (1) *assert.withAssertionFailure (2) *errbase.opaqueWrapper (3) *barriers.barrierError +Error types: (1) *assert.withAssertionFailure (2) *errbase.opaqueWrapper (3) *barriers.barrierErr == %#v via Formattable() = %#v, good == %v via Formattable() = Error(), good == %s via Formattable() = %v via Formattable(), good @@ -164,24 +164,64 @@ Wraps: (3) ‹innerone› | | (opaque error leaf) | | type name: github.com/cockroachdb/errors/fmttests/*fmttests.errFmt | Error types: (1) *errbase.opaqueLeaf -Error types: (1) *assert.withAssertionFailure (2) *errbase.opaqueWrapper (3) *barriers.barrierError +Error types: (1) *assert.withAssertionFailure (2) *errbase.opaqueWrapper (3) *barriers.barrierErr ===== ===== Sentry reporting ===== == Message payload :: × -× --- -*barriers.barrierError +(1) assertion failure +Wraps: (2) + | (opaque error wrapper) + | type name: github.com/cockroachdb/errors/withstack/*withstack.withStack + | reportable 0: + | + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (3) × + | × + | -- cause hidden behind barrier + | × + | (1) × + | | × + | | + | | (opaque error leaf) + | | type name: github.com/cockroachdb/errors/fmttests/*fmttests.errFmt + | Error types: (1) *errbase.opaqueLeaf +Error types: (1) *assert.withAssertionFailure (2) *errbase.opaqueWrapper (3) *barriers.barrierErr +-- report composition: +*barriers.barrierErr: masked error: × :: *withstack.withStack (top exception) *assert.withAssertionFailure == Extra "error types" -github.com/cockroachdb/errors/barriers/*barriers.barrierError (*::) +github.com/cockroachdb/errors/barriers/*barriers.barrierErr (*::) github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) github.com/cockroachdb/errors/assert/*assert.withAssertionFailure (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*barriers.barrierError: ×\n×\nvia *withstack.withStack" +Title: "*barriers.barrierErr: ×\nvia *withstack.withStack" :: (runtime) goexit() :: @@ -217,8 +257,8 @@ require (?s)outerthree.*outerfour.*innerone.*innertwo &assert.withAssertionFailure{ cause: &errbase.opaqueWrapper{ cause: &errutil.withPrefix{ - cause: &barriers.barrierError{ - msg: "innerone\ninnertwo", + cause: &barriers.barrierErr{ + smsg: "‹innerone›\n‹innertwo›", maskedErr: &errbase.opaqueLeaf{ msg: "innerone\ninnertwo", details: errorspb.EncodedErrorDetails{ @@ -247,8 +287,8 @@ require (?s)outerthree.*outerfour.*innerone.*innertwo &assert.withAssertionFailure{ cause: &errbase.opaqueWrapper{ cause: &errutil.withPrefix{ - cause: &barriers.barrierError{ - msg: "innerone\ninnertwo", + cause: &barriers.barrierErr{ + smsg: "‹innerone›\n‹innertwo›", maskedErr: &errbase.opaqueLeaf{ msg: "innerone\ninnertwo", details: errorspb.EncodedErrorDetails{ @@ -323,7 +363,7 @@ Wraps: (4) innerone | | (opaque error leaf) | | type name: github.com/cockroachdb/errors/fmttests/*fmttests.errFmt | Error types: (1) *errbase.opaqueLeaf -Error types: (1) *assert.withAssertionFailure (2) *errbase.opaqueWrapper (3) *errutil.withPrefix (4) *barriers.barrierError +Error types: (1) *assert.withAssertionFailure (2) *errbase.opaqueWrapper (3) *errutil.withPrefix (4) *barriers.barrierErr == %#v via Formattable() = %#v, good == %v via Formattable() = Error(), good == %s via Formattable() = %v via Formattable(), good @@ -385,31 +425,68 @@ Wraps: (4) ‹innerone› | | (opaque error leaf) | | type name: github.com/cockroachdb/errors/fmttests/*fmttests.errFmt | Error types: (1) *errbase.opaqueLeaf -Error types: (1) *assert.withAssertionFailure (2) *errbase.opaqueWrapper (3) *errutil.withPrefix (4) *barriers.barrierError +Error types: (1) *assert.withAssertionFailure (2) *errbase.opaqueWrapper (3) *errutil.withPrefix (4) *barriers.barrierErr ===== ===== Sentry reporting ===== == Message payload -:: assertmsg: × -×: × -× --- -*barriers.barrierError -*errutil.withPrefix: assertmsg: × (1) +:: assertmsg: ×: × +(1) assertion failure +Wraps: (2) + | (opaque error wrapper) + | type name: github.com/cockroachdb/errors/withstack/*withstack.withStack + | reportable 0: + | + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (3) assertmsg: × + | × +Wraps: (4) × + | × + | -- cause hidden behind barrier + | × + | (1) × + | | × + | | + | | (opaque error leaf) + | | type name: github.com/cockroachdb/errors/fmttests/*fmttests.errFmt + | Error types: (1) *errbase.opaqueLeaf +Error types: (1) *assert.withAssertionFailure (2) *errbase.opaqueWrapper (3) *errutil.withPrefix (4) *barriers.barrierErr +-- report composition: +*barriers.barrierErr: masked error: × +*errutil.withPrefix: assertmsg: × :: *withstack.withStack (top exception) *assert.withAssertionFailure -(check the extra data payloads) -== Extra "1: details" -assertmsg: × - × == Extra "error types" -github.com/cockroachdb/errors/barriers/*barriers.barrierError (*::) +github.com/cockroachdb/errors/barriers/*barriers.barrierErr (*::) github.com/cockroachdb/errors/errutil/*errutil.withPrefix (*::) github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) github.com/cockroachdb/errors/assert/*assert.withAssertionFailure (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*barriers.barrierError: assertmsg: ×\n×: ×\n×\nvia *withstack.withStack" +Title: "*barriers.barrierErr: assertmsg: ×: ×\nvia *withstack.withStack" :: (runtime) goexit() :: @@ -442,8 +519,8 @@ opaque require (?s)innerone.*innertwo ---- -&barriers.barrierError{ - msg: "innerone\ninnertwo", +&barriers.barrierErr{ + smsg: "‹innerone›\n‹innertwo›", maskedErr: &errbase.opaqueLeaf{ msg: "innerone\ninnertwo", details: errorspb.EncodedErrorDetails{ @@ -458,8 +535,8 @@ require (?s)innerone.*innertwo ===== non-redactable formats ===== == %#v -&barriers.barrierError{ - msg: "innerone\ninnertwo", +&barriers.barrierErr{ + smsg: "‹innerone›\n‹innertwo›", maskedErr: &errbase.opaqueLeaf{ msg: "innerone\ninnertwo", details: errorspb.EncodedErrorDetails{ @@ -490,7 +567,7 @@ innerone | | (opaque error leaf) | | type name: github.com/cockroachdb/errors/fmttests/*fmttests.errFmt | Error types: (1) *errbase.opaqueLeaf -Error types: (1) *barriers.barrierError +Error types: (1) *barriers.barrierErr == %#v via Formattable() = %#v, good == %v via Formattable() = Error(), good == %s via Formattable() = %v via Formattable(), good @@ -519,20 +596,30 @@ Error types: (1) *barriers.barrierError | | (opaque error leaf) | | type name: github.com/cockroachdb/errors/fmttests/*fmttests.errFmt | Error types: (1) *errbase.opaqueLeaf -Error types: (1) *barriers.barrierError +Error types: (1) *barriers.barrierErr ===== ===== Sentry reporting ===== == Message payload × -× --- -*barriers.barrierError +(1) × + | × + | -- cause hidden behind barrier + | × + | (1) × + | | × + | | + | | (opaque error leaf) + | | type name: github.com/cockroachdb/errors/fmttests/*fmttests.errFmt + | Error types: (1) *errbase.opaqueLeaf +Error types: (1) *barriers.barrierErr +-- report composition: +*barriers.barrierErr: masked error: × == Extra "error types" -github.com/cockroachdb/errors/barriers/*barriers.barrierError (*::) +github.com/cockroachdb/errors/barriers/*barriers.barrierErr (*::) == Exception 1 (Module: "error domain: ") -Type: "*barriers.barrierError" -Title: "×\n×" +Type: "*barriers.barrierErr" +Title: "×" (NO STACKTRACE) run @@ -638,10 +725,19 @@ Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueLeaf ===== Sentry reporting ===== == Message payload -× ×: × -× --- +(1) × + | × + | + | (opaque error wrapper) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.werrDelegate +Wraps: (2) × + | × + | + | (opaque error leaf) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.errFmt +Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueLeaf +-- report composition: *fmttests.errFmt *fmttests.werrDelegate == Extra "error types" @@ -649,7 +745,7 @@ github.com/cockroachdb/errors/fmttests/*fmttests.errFmt (*::) github.com/cockroachdb/errors/fmttests/*fmttests.werrDelegate (*::) == Exception 1 (Module: "error domain: ") Type: "*fmttests.errFmt" -Title: "×\n×: ×\n×" +Title: "×: ×" (NO STACKTRACE) run @@ -750,8 +846,16 @@ Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueLeaf ===== == Message payload × -× --- +(1) + | (opaque error wrapper) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.werrDelegateEmpty +Wraps: (2) × + | × + | + | (opaque error leaf) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.errFmt +Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueLeaf +-- report composition: *fmttests.errFmt *fmttests.werrDelegateEmpty == Extra "error types" @@ -759,7 +863,7 @@ github.com/cockroachdb/errors/fmttests/*fmttests.errFmt (*::) github.com/cockroachdb/errors/fmttests/*fmttests.werrDelegateEmpty (*::) == Exception 1 (Module: "error domain: ") Type: "*fmttests.errFmt" -Title: "×\n×" +Title: "×" (NO STACKTRACE) run @@ -860,8 +964,16 @@ Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueLeaf ===== == Message payload × -× --- +(1) + | (opaque error wrapper) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.werrDelegateNoPrefix +Wraps: (2) × + | × + | + | (opaque error leaf) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.errFmt +Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueLeaf +-- report composition: *fmttests.errFmt *fmttests.werrDelegateNoPrefix == Extra "error types" @@ -869,7 +981,7 @@ github.com/cockroachdb/errors/fmttests/*fmttests.errFmt (*::) github.com/cockroachdb/errors/fmttests/*fmttests.werrDelegateNoPrefix (*::) == Exception 1 (Module: "error domain: ") Type: "*fmttests.errFmt" -Title: "×\n×" +Title: "×" (NO STACKTRACE) run @@ -956,8 +1068,15 @@ Error types: (1) *hintdetail.withDetail (2) *errbase.opaqueLeaf ===== == Message payload × +(1) × × --- +Wraps: (2) × + | × + | + | (opaque error leaf) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.errFmt +Error types: (1) *hintdetail.withDetail (2) *errbase.opaqueLeaf +-- report composition: *fmttests.errFmt *hintdetail.withDetail == Extra "error types" @@ -965,7 +1084,7 @@ github.com/cockroachdb/errors/fmttests/*fmttests.errFmt (*::) github.com/cockroachdb/errors/hintdetail/*hintdetail.withDetail (*::) == Exception 1 (Module: "error domain: ") Type: "*fmttests.errFmt" -Title: "×\n×" +Title: "×" (NO STACKTRACE) run @@ -1050,19 +1169,22 @@ Error types: (1) *domains.withDomain (2) *errbase.opaqueLeaf ===== == Message payload × -× --- +(1) mydomain +Wraps: (2) × + | × + | + | (opaque error leaf) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.errFmt +Error types: (1) *domains.withDomain (2) *errbase.opaqueLeaf +-- report composition: *fmttests.errFmt -*domains.withDomain: mydomain (1) -(check the extra data payloads) -== Extra "1: details" -mydomain +*domains.withDomain: mydomain == Extra "error types" github.com/cockroachdb/errors/fmttests/*fmttests.errFmt (*::) github.com/cockroachdb/errors/domains/*domains.withDomain (*::mydomain) == Exception 1 (Module: "mydomain") Type: "*fmttests.errFmt" -Title: "×\n×" +Title: "×" (NO STACKTRACE) run @@ -1149,8 +1271,15 @@ Error types: (1) *fmttests.werrWithElidedCause (2) *errbase.opaqueLeaf ===== == Message payload × +(1) ×× × --- +Wraps: (2) × + | × + | + | (opaque error leaf) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.errFmt +Error types: (1) *fmttests.werrWithElidedCause (2) *errbase.opaqueLeaf +-- report composition: *fmttests.errFmt *fmttests.werrWithElidedCause == Extra "error types" @@ -1158,7 +1287,7 @@ github.com/cockroachdb/errors/fmttests/*fmttests.errFmt (*::) github.com/cockroachdb/errors/fmttests/*fmttests.werrWithElidedCause (*::) == Exception 1 (Module: "error domain: ") Type: "*fmttests.errFmt" -Title: "×\n×" +Title: "×" (NO STACKTRACE) run @@ -1259,8 +1388,16 @@ Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueLeaf ===== == Message payload × -× --- +(1) + | (opaque error wrapper) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.werrEmpty +Wraps: (2) × + | × + | + | (opaque error leaf) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.errFmt +Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueLeaf +-- report composition: *fmttests.errFmt *fmttests.werrEmpty == Extra "error types" @@ -1268,7 +1405,7 @@ github.com/cockroachdb/errors/fmttests/*fmttests.errFmt (*::) github.com/cockroachdb/errors/fmttests/*fmttests.werrEmpty (*::) == Exception 1 (Module: "error domain: ") Type: "*fmttests.errFmt" -Title: "×\n×" +Title: "×" (NO STACKTRACE) run @@ -1374,10 +1511,19 @@ Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueLeaf ===== Sentry reporting ===== == Message payload -× ×: × -× --- +(1) × + | × + | + | (opaque error wrapper) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.werrFmt +Wraps: (2) × + | × + | + | (opaque error leaf) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.errFmt +Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueLeaf +-- report composition: *fmttests.errFmt *fmttests.werrFmt == Extra "error types" @@ -1385,7 +1531,7 @@ github.com/cockroachdb/errors/fmttests/*fmttests.errFmt (*::) github.com/cockroachdb/errors/fmttests/*fmttests.werrFmt (*::) == Exception 1 (Module: "error domain: ") Type: "*fmttests.errFmt" -Title: "×\n×: ×\n×" +Title: "×: ×" (NO STACKTRACE) run @@ -1494,10 +1640,19 @@ Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueLeaf ===== Sentry reporting ===== == Message payload -× ×: × -× --- +(1) × + | × + | + | (opaque error wrapper) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.werrFmto +Wraps: (2) × + | × + | + | (opaque error leaf) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.errFmt +Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueLeaf +-- report composition: *fmttests.errFmt *fmttests.werrFmto == Extra "error types" @@ -1505,7 +1660,7 @@ github.com/cockroachdb/errors/fmttests/*fmttests.errFmt (*::) github.com/cockroachdb/errors/fmttests/*fmttests.werrFmto (*::) == Exception 1 (Module: "error domain: ") Type: "*fmttests.errFmt" -Title: "×\n×: ×\n×" +Title: "×: ×" (NO STACKTRACE) run @@ -1614,10 +1769,19 @@ Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueLeaf ===== Sentry reporting ===== == Message payload -× ×: × -× --- +(1) × + | × + | + | (opaque error wrapper) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.werrFmtoDelegate +Wraps: (2) × + | × + | + | (opaque error leaf) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.errFmt +Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueLeaf +-- report composition: *fmttests.errFmt *fmttests.werrFmtoDelegate == Extra "error types" @@ -1625,7 +1789,7 @@ github.com/cockroachdb/errors/fmttests/*fmttests.errFmt (*::) github.com/cockroachdb/errors/fmttests/*fmttests.werrFmtoDelegate (*::) == Exception 1 (Module: "error domain: ") Type: "*fmttests.errFmt" -Title: "×\n×: ×\n×" +Title: "×: ×" (NO STACKTRACE) run @@ -1731,10 +1895,19 @@ Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueLeaf ===== Sentry reporting ===== == Message payload -× ×: × -× --- +(1) × + | × + | + | (opaque error wrapper) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.werrFmtp +Wraps: (2) × + | × + | + | (opaque error leaf) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.errFmt +Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueLeaf +-- report composition: *fmttests.errFmt *fmttests.werrFmtp == Extra "error types" @@ -1742,7 +1915,7 @@ github.com/cockroachdb/errors/fmttests/*fmttests.errFmt (*::) github.com/cockroachdb/errors/fmttests/*fmttests.werrFmtp (*::) == Exception 1 (Module: "error domain: ") Type: "*fmttests.errFmt" -Title: "×\n×: ×\n×" +Title: "×: ×" (NO STACKTRACE) run @@ -1851,10 +2024,19 @@ Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueLeaf ===== Sentry reporting ===== == Message payload -× ×: × -× --- +(1) × + | × + | + | (opaque error wrapper) + | type name: fmt/*fmt.wrapError +Wraps: (2) × + | × + | + | (opaque error leaf) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.errFmt +Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueLeaf +-- report composition: *fmttests.errFmt *fmt.wrapError == Extra "error types" @@ -1862,7 +2044,7 @@ github.com/cockroachdb/errors/fmttests/*fmttests.errFmt (*::) fmt/*fmt.wrapError (*::) == Exception 1 (Module: "error domain: ") Type: "*fmttests.errFmt" -Title: "×\n×: ×\n×" +Title: "×: ×" (NO STACKTRACE) run @@ -1873,8 +2055,8 @@ opaque require (?s)innerone.*innertwo ---- &domains.withDomain{ - cause: &barriers.barrierError{ - msg: "innerone\ninnertwo", + cause: &barriers.barrierErr{ + smsg: "‹innerone›\n‹innertwo›", maskedErr: &errbase.opaqueLeaf{ msg: "innerone\ninnertwo", details: errorspb.EncodedErrorDetails{ @@ -1892,8 +2074,8 @@ require (?s)innerone.*innertwo ===== == %#v &domains.withDomain{ - cause: &barriers.barrierError{ - msg: "innerone\ninnertwo", + cause: &barriers.barrierErr{ + smsg: "‹innerone›\n‹innertwo›", maskedErr: &errbase.opaqueLeaf{ msg: "innerone\ninnertwo", details: errorspb.EncodedErrorDetails{ @@ -1927,7 +2109,7 @@ Wraps: (2) innerone | | (opaque error leaf) | | type name: github.com/cockroachdb/errors/fmttests/*fmttests.errFmt | Error types: (1) *errbase.opaqueLeaf -Error types: (1) *domains.withDomain (2) *barriers.barrierError +Error types: (1) *domains.withDomain (2) *barriers.barrierErr == %#v via Formattable() = %#v, good == %v via Formattable() = Error(), good == %s via Formattable() = %v via Formattable(), good @@ -1957,25 +2139,33 @@ Wraps: (2) ‹innerone› | | (opaque error leaf) | | type name: github.com/cockroachdb/errors/fmttests/*fmttests.errFmt | Error types: (1) *errbase.opaqueLeaf -Error types: (1) *domains.withDomain (2) *barriers.barrierError +Error types: (1) *domains.withDomain (2) *barriers.barrierErr ===== ===== Sentry reporting ===== == Message payload × -× --- -*barriers.barrierError -*domains.withDomain: error domain: pkg (1) -(check the extra data payloads) -== Extra "1: details" -error domain: pkg +(1) error domain: pkg +Wraps: (2) × + | × + | -- cause hidden behind barrier + | × + | (1) × + | | × + | | + | | (opaque error leaf) + | | type name: github.com/cockroachdb/errors/fmttests/*fmttests.errFmt + | Error types: (1) *errbase.opaqueLeaf +Error types: (1) *domains.withDomain (2) *barriers.barrierErr +-- report composition: +*barriers.barrierErr: masked error: × +*domains.withDomain: error domain: pkg == Extra "error types" -github.com/cockroachdb/errors/barriers/*barriers.barrierError (*::) +github.com/cockroachdb/errors/barriers/*barriers.barrierErr (*::) github.com/cockroachdb/errors/domains/*domains.withDomain (*::error domain: pkg ) == Exception 1 (Module: "error domain: pkg ") -Type: "*barriers.barrierError" -Title: "×\n×" +Type: "*barriers.barrierErr" +Title: "×" (NO STACKTRACE) run @@ -2062,8 +2252,15 @@ Error types: (1) *hintdetail.withHint (2) *errbase.opaqueLeaf ===== == Message payload × +(1) × × --- +Wraps: (2) × + | × + | + | (opaque error leaf) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.errFmt +Error types: (1) *hintdetail.withHint (2) *errbase.opaqueLeaf +-- report composition: *fmttests.errFmt *hintdetail.withHint == Extra "error types" @@ -2071,7 +2268,7 @@ github.com/cockroachdb/errors/fmttests/*fmttests.errFmt (*::) github.com/cockroachdb/errors/hintdetail/*hintdetail.withHint (*::) == Exception 1 (Module: "error domain: ") Type: "*fmttests.errFmt" -Title: "×\n×" +Title: "×" (NO STACKTRACE) run @@ -2160,21 +2357,24 @@ Error types: (1) *issuelink.withIssueLink (2) *errbase.opaqueLeaf ===== == Message payload × -× --- +(1) issue: https://mysite + | detail: outerthree + | outerfour +Wraps: (2) × + | × + | + | (opaque error leaf) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.errFmt +Error types: (1) *issuelink.withIssueLink (2) *errbase.opaqueLeaf +-- report composition: *fmttests.errFmt -*issuelink.withIssueLink: https://mysite (1) -(check the extra data payloads) -== Extra "1: details" -https://mysite -outerthree - outerfour +*issuelink.withIssueLink: https://mysite == Extra "error types" github.com/cockroachdb/errors/fmttests/*fmttests.errFmt (*::) github.com/cockroachdb/errors/issuelink/*issuelink.withIssueLink (*::) == Exception 1 (Module: "error domain: ") Type: "*fmttests.errFmt" -Title: "×\n×" +Title: "×" (NO STACKTRACE) run @@ -2275,8 +2475,16 @@ Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueLeaf ===== == Message payload × -× --- +(1) + | (opaque error wrapper) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.werrMigrated +Wraps: (2) × + | × + | + | (opaque error leaf) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.errFmt +Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueLeaf +-- report composition: *fmttests.errFmt *fmttests.werrMigrated == Extra "error types" @@ -2284,7 +2492,7 @@ github.com/cockroachdb/errors/fmttests/*fmttests.errFmt (*::) github.com/cockroachdb/errors/fmttests/*fmttests.werrMigrated (some/previous/path/prevpkg.prevType::) == Exception 1 (Module: "error domain: ") Type: "*fmttests.errFmt" -Title: "×\n×" +Title: "×" (NO STACKTRACE) run @@ -2372,22 +2580,24 @@ Error types: (1) *errutil.withPrefix (2) *errbase.opaqueLeaf ===== Sentry reporting ===== == Message payload -outerthree -outerfour: × -× --- +outerthree: × +(1) outerthree + | outerfour +Wraps: (2) × + | × + | + | (opaque error leaf) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.errFmt +Error types: (1) *errutil.withPrefix (2) *errbase.opaqueLeaf +-- report composition: *fmttests.errFmt -*errutil.withPrefix: outerthree (1) -(check the extra data payloads) -== Extra "1: details" -outerthree - outerfour +*errutil.withPrefix: outerthree == Extra "error types" github.com/cockroachdb/errors/fmttests/*fmttests.errFmt (*::) github.com/cockroachdb/errors/errutil/*errutil.withPrefix (*::) == Exception 1 (Module: "error domain: ") Type: "*fmttests.errFmt" -Title: "outerthree\nouterfour: ×\n×" +Title: "outerthree: ×" (NO STACKTRACE) run @@ -2592,33 +2802,72 @@ Error types: (1) *errbase.opaqueWrapper (2) *secondary.withSecondaryError (3) *e ===== == Message payload :: new-style (× -×) :: × -× :: --- -*fmttests.errFmt -*errutil.withNewMessage: new-style (× (1) -*secondary.withSecondaryError -:: *withstack.withStack (top exception) -(check the extra data payloads) -== Extra "1: details" -new-style (× - ×) :: × - × :: -== Extra "error types" -github.com/cockroachdb/errors/fmttests/*fmttests.errFmt (*::) -github.com/cockroachdb/errors/errutil/*errutil.withNewMessage (*::) -github.com/cockroachdb/errors/secondary/*secondary.withSecondaryError (*::) -github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) -== Exception 1 (Module: "error domain: ") -Type: ": ...funcNN... -Title: "*fmttests.errFmt: new-style (×\n×) :: ×\n× ::\nvia *withstack.withStack" -:: - (runtime) goexit() -:: - (testing) tRunner() -:: - (github.com/cockroachdb/datadriven.Walk)...funcNN... -:: +(1) + | (opaque error wrapper) + | type name: github.com/cockroachdb/errors/withstack/*withstack.withStack + | reportable 0: + | + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (2) secondary error attachment + | × + | (1) × + | | × + | | + | | (opaque error leaf) + | | type name: github.com/cockroachdb/errors/fmttests/*fmttests.errFmt + | Error types: (1) *errbase.opaqueLeaf +Wraps: (3) new-style (× + | ×) :: × + | × :: +Wraps: (4) × + | × + | + | (opaque error leaf) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.errFmt +Error types: (1) *errbase.opaqueWrapper (2) *secondary.withSecondaryError (3) *errutil.withNewMessage (4) *errbase.opaqueLeaf +-- report composition: +*fmttests.errFmt +*errutil.withNewMessage: new-style (× +*secondary.withSecondaryError +:: *withstack.withStack (top exception) +== Extra "error types" +github.com/cockroachdb/errors/fmttests/*fmttests.errFmt (*::) +github.com/cockroachdb/errors/errutil/*errutil.withNewMessage (*::) +github.com/cockroachdb/errors/secondary/*secondary.withSecondaryError (*::) +github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) +== Exception 1 (Module: "error domain: ") +Type: ": ...funcNN... +Title: "*fmttests.errFmt: new-style (×\nvia *withstack.withStack" +:: + (runtime) goexit() +:: + (testing) tRunner() +:: + (github.com/cockroachdb/datadriven.Walk)...funcNN... +:: (github.com/cockroachdb/datadriven) Walk() :: (github.com/cockroachdb/errors/fmttests.TestDatadriven)...funcNN... @@ -2743,10 +2992,19 @@ Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueLeaf ===== Sentry reporting ===== == Message payload -× ×: × -× --- +(1) × + | × + | + | (opaque error wrapper) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.werrNoFmt +Wraps: (2) × + | × + | + | (opaque error leaf) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.errFmt +Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueLeaf +-- report composition: *fmttests.errFmt *fmttests.werrNoFmt == Extra "error types" @@ -2754,7 +3012,7 @@ github.com/cockroachdb/errors/fmttests/*fmttests.errFmt (*::) github.com/cockroachdb/errors/fmttests/*fmttests.werrNoFmt (*::) == Exception 1 (Module: "error domain: ") Type: "*fmttests.errFmt" -Title: "×\n×: ×\n×" +Title: "×: ×" (NO STACKTRACE) run @@ -2855,8 +3113,14 @@ Error types: (1) *os.LinkError (2) *errbase.opaqueLeaf ===== == Message payload link × ×: × -× --- +(1) link × × +Wraps: (2) × + | × + | + | (opaque error leaf) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.errFmt +Error types: (1) *os.LinkError (2) *errbase.opaqueLeaf +-- report composition: *fmttests.errFmt *os.LinkError == Extra "error types" @@ -2864,7 +3128,7 @@ github.com/cockroachdb/errors/fmttests/*fmttests.errFmt (*::) os/*os.LinkError (*::) == Exception 1 (Module: "error domain: ") Type: "*fmttests.errFmt" -Title: "link × ×: ×\n×" +Title: "link × ×: ×" (NO STACKTRACE) run @@ -2970,8 +3234,17 @@ Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueLeaf ===== == Message payload ×: × -× --- +(1) × + | + | (opaque error wrapper) + | type name: net/*net.OpError +Wraps: (2) × + | × + | + | (opaque error leaf) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.errFmt +Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueLeaf +-- report composition: *fmttests.errFmt *net.OpError == Extra "error types" @@ -2979,7 +3252,7 @@ github.com/cockroachdb/errors/fmttests/*fmttests.errFmt (*::) net/*net.OpError (*::) == Exception 1 (Module: "error domain: ") Type: "*fmttests.errFmt" -Title: "×: ×\n×" +Title: "×: ×" (NO STACKTRACE) run @@ -3078,8 +3351,14 @@ Error types: (1) *fs.PathError (2) *errbase.opaqueLeaf ===== == Message payload link ×: × -× --- +(1) link × +Wraps: (2) × + | × + | + | (opaque error leaf) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.errFmt +Error types: (1) *fs.PathError (2) *errbase.opaqueLeaf +-- report composition: *fmttests.errFmt *fs.PathError == Extra "error types" @@ -3087,7 +3366,7 @@ github.com/cockroachdb/errors/fmttests/*fmttests.errFmt (*::) io/fs/*fs.PathError (os/*os.PathError::) == Exception 1 (Module: "error domain: ") Type: "*fmttests.errFmt" -Title: "link ×: ×\n×" +Title: "link ×: ×" (NO STACKTRACE) run @@ -3184,8 +3463,14 @@ Error types: (1) *os.SyscallError (2) *errbase.opaqueLeaf ===== == Message payload open: × -× --- +(1) open +Wraps: (2) × + | × + | + | (opaque error leaf) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.errFmt +Error types: (1) *os.SyscallError (2) *errbase.opaqueLeaf +-- report composition: *fmttests.errFmt *os.SyscallError == Extra "error types" @@ -3193,7 +3478,7 @@ github.com/cockroachdb/errors/fmttests/*fmttests.errFmt (*::) os/*os.SyscallError (*::) == Exception 1 (Module: "error domain: ") Type: "*fmttests.errFmt" -Title: "open: ×\n×" +Title: "open: ×" (NO STACKTRACE) run @@ -3303,10 +3588,16 @@ Error types: (1) *errors.withMessage (2) *errbase.opaqueLeaf ===== Sentry reporting ===== == Message payload -× ×: × +(1) ×× × --- +Wraps: (2) × + | × + | + | (opaque error leaf) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.errFmt +Error types: (1) *errors.withMessage (2) *errbase.opaqueLeaf +-- report composition: *fmttests.errFmt *errors.withMessage == Extra "error types" @@ -3314,7 +3605,7 @@ github.com/cockroachdb/errors/fmttests/*fmttests.errFmt (*::) github.com/pkg/errors/*errors.withMessage (*::) == Exception 1 (Module: "error domain: ") Type: "*fmttests.errFmt" -Title: "×\n×: ×\n×" +Title: "×: ×" (NO STACKTRACE) run @@ -3472,8 +3763,42 @@ Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueLeaf ===== == Message payload :: × -× --- +(1) + | (opaque error wrapper) + | type name: github.com/pkg/errors/*errors.withStack + | reportable 0: + | + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (2) × + | × + | + | (opaque error leaf) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.errFmt +Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueLeaf +-- report composition: *fmttests.errFmt :: *errors.withStack (top exception) == Extra "error types" @@ -3481,7 +3806,7 @@ github.com/cockroachdb/errors/fmttests/*fmttests.errFmt (*::) github.com/pkg/errors/*errors.withStack (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*fmttests.errFmt: ×\n×\nvia *errors.withStack" +Title: "*fmttests.errFmt: ×\nvia *errors.withStack" :: (runtime) goexit() :: @@ -3591,20 +3916,23 @@ Error types: (1) *safedetails.withSafeDetails (2) *errbase.opaqueLeaf ===== == Message payload × -× --- +(1) safe × + | × +Wraps: (2) × + | × + | + | (opaque error leaf) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.errFmt +Error types: (1) *safedetails.withSafeDetails (2) *errbase.opaqueLeaf +-- report composition: *fmttests.errFmt -*safedetails.withSafeDetails: safe × (1) -(check the extra data payloads) -== Extra "1: details" -safe × - × +*safedetails.withSafeDetails: safe × == Extra "error types" github.com/cockroachdb/errors/fmttests/*fmttests.errFmt (*::) github.com/cockroachdb/errors/safedetails/*safedetails.withSafeDetails (*::) == Exception 1 (Module: "error domain: ") Type: "*fmttests.errFmt" -Title: "×\n×" +Title: "×" (NO STACKTRACE) run @@ -3710,10 +4038,19 @@ Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueLeaf ===== Sentry reporting ===== == Message payload -× ×: × -× --- +(1) × + | × + | + | (opaque error wrapper) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.werrSafeFormat +Wraps: (2) × + | × + | + | (opaque error leaf) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.errFmt +Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueLeaf +-- report composition: *fmttests.errFmt *fmttests.werrSafeFormat == Extra "error types" @@ -3721,7 +4058,7 @@ github.com/cockroachdb/errors/fmttests/*fmttests.errFmt (*::) github.com/cockroachdb/errors/fmttests/*fmttests.werrSafeFormat (*::) == Exception 1 (Module: "error domain: ") Type: "*fmttests.errFmt" -Title: "×\n×: ×\n×" +Title: "×: ×" (NO STACKTRACE) run @@ -3731,7 +4068,6 @@ opaque require (?s)innerone.*innertwo ---- ----- &secondary.withSecondaryError{ cause: &errbase.opaqueLeaf{ msg: "innerone\ninnertwo", @@ -3891,50 +4227,56 @@ Error types: (1) *secondary.withSecondaryError (2) *errbase.opaqueLeaf ===== == Message payload × -× --- +(1) secondary error attachment + | outerthree + | (1) + | | (opaque error wrapper) + | | type name: github.com/cockroachdb/errors/withstack/*withstack.withStack + | | reportable 0: + | | + | | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | | : + | | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | | : + | | github.com/cockroachdb/datadriven.runDirective.func1 + | | : + | | github.com/cockroachdb/datadriven.runDirective + | | : + | | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | | : + | | github.com/cockroachdb/datadriven.runTestInternal + | | : + | | github.com/cockroachdb/datadriven.RunTest + | | : + | | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | | : + | | github.com/cockroachdb/datadriven.Walk + | | : + | | github.com/cockroachdb/datadriven.Walk.func1 + | | : + | | testing.tRunner + | | : + | | runtime.goexit + | | : + | Wraps: (2) outerthree + | | outerfour + | Error types: (1) *errbase.opaqueWrapper (2) *errutil.leafError +Wraps: (2) × + | × + | + | (opaque error leaf) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.errFmt +Error types: (1) *secondary.withSecondaryError (2) *errbase.opaqueLeaf +-- report composition: *fmttests.errFmt -*secondary.withSecondaryError: details for github.com/cockroachdb/errors/withstack/*withstack.withStack::: (1) -(check the extra data payloads) -== Extra "1: details" -details for github.com/cockroachdb/errors/withstack/*withstack.withStack::: - - github.com/cockroachdb/errors/fmttests.glob...funcNN... - : - github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 - : - github.com/cockroachdb/datadriven.runDirective.func1 - : - github.com/cockroachdb/datadriven.runDirective - : - github.com/cockroachdb/datadriven.runDirectiveOrSubTest - : - github.com/cockroachdb/datadriven.runTestInternal - : - github.com/cockroachdb/datadriven.RunTest - : - github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 - : - github.com/cockroachdb/datadriven.Walk - : - github.com/cockroachdb/datadriven.Walk.func1 - : - testing.tRunner - : - runtime.goexit - : -details for github.com/cockroachdb/errors/errutil/*errutil.leafError::: - outerthree - outerfour +*secondary.withSecondaryError: details for github.com/cockroachdb/errors/withstack/*withstack.withStack::: == Extra "error types" github.com/cockroachdb/errors/fmttests/*fmttests.errFmt (*::) github.com/cockroachdb/errors/secondary/*secondary.withSecondaryError (*::) == Exception 1 (Module: "error domain: ") Type: "*fmttests.errFmt" -Title: "×\n×" +Title: "×" (NO STACKTRACE) ----- ----- run fmt innerone innertwo @@ -4086,8 +4428,42 @@ Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueLeaf ===== == Message payload :: × -× --- +(1) + | (opaque error wrapper) + | type name: github.com/cockroachdb/errors/withstack/*withstack.withStack + | reportable 0: + | + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (2) × + | × + | + | (opaque error leaf) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.errFmt +Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueLeaf +-- report composition: *fmttests.errFmt :: *withstack.withStack (top exception) == Extra "error types" @@ -4095,7 +4471,7 @@ github.com/cockroachdb/errors/fmttests/*fmttests.errFmt (*::) github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*fmttests.errFmt: ×\n×\nvia *withstack.withStack" +Title: "*fmttests.errFmt: ×\nvia *withstack.withStack" :: (runtime) goexit() :: @@ -4251,20 +4627,22 @@ Error types: (1) *contexttags.withContext (2) *errbase.opaqueLeaf ===== == Message payload × -× --- +(1) tags: [k×,safe=×] +Wraps: (2) × + | × + | + | (opaque error leaf) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.errFmt +Error types: (1) *contexttags.withContext (2) *errbase.opaqueLeaf +-- report composition: *fmttests.errFmt -*contexttags.withContext: k× (1) -(check the extra data payloads) -== Extra "1: details" -k× -safe=456 +*contexttags.withContext: k× == Extra "error types" github.com/cockroachdb/errors/fmttests/*fmttests.errFmt (*::) github.com/cockroachdb/errors/contexttags/*contexttags.withContext (*::) == Exception 1 (Module: "error domain: ") Type: "*fmttests.errFmt" -Title: "×\n×" +Title: "×" (NO STACKTRACE) run @@ -4351,21 +4729,23 @@ Error types: (1) *telemetrykeys.withTelemetry (2) *errbase.opaqueLeaf ===== == Message payload × -× --- +(1) keys: [somekey outerthree + | outerfour] +Wraps: (2) × + | × + | + | (opaque error leaf) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.errFmt +Error types: (1) *telemetrykeys.withTelemetry (2) *errbase.opaqueLeaf +-- report composition: *fmttests.errFmt -*telemetrykeys.withTelemetry: somekey (1) -(check the extra data payloads) -== Extra "1: details" -somekey -outerthree - outerfour +*telemetrykeys.withTelemetry: somekey == Extra "error types" github.com/cockroachdb/errors/fmttests/*fmttests.errFmt (*::) github.com/cockroachdb/errors/telemetrykeys/*telemetrykeys.withTelemetry (*::) == Exception 1 (Module: "error domain: ") Type: "*fmttests.errFmt" -Title: "×\n×" +Title: "×" (NO STACKTRACE) run @@ -4529,24 +4909,55 @@ Error types: (1) *errbase.opaqueWrapper (2) *errutil.withPrefix (3) *errbase.opa ===== Sentry reporting ===== == Message payload -:: new-stylew × -×: × -× --- +:: new-stylew ×: × +(1) + | (opaque error wrapper) + | type name: github.com/cockroachdb/errors/withstack/*withstack.withStack + | reportable 0: + | + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (2) new-stylew × + | × +Wraps: (3) × + | × + | + | (opaque error leaf) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.errFmt +Error types: (1) *errbase.opaqueWrapper (2) *errutil.withPrefix (3) *errbase.opaqueLeaf +-- report composition: *fmttests.errFmt -*errutil.withPrefix: new-stylew × (1) +*errutil.withPrefix: new-stylew × :: *withstack.withStack (top exception) -(check the extra data payloads) -== Extra "1: details" -new-stylew × - × == Extra "error types" github.com/cockroachdb/errors/fmttests/*fmttests.errFmt (*::) github.com/cockroachdb/errors/errutil/*errutil.withPrefix (*::) github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*fmttests.errFmt: new-stylew ×\n×: ×\n×\nvia *withstack.withStack" +Title: "*fmttests.errFmt: new-stylew ×: ×\nvia *withstack.withStack" :: (runtime) goexit() :: @@ -4579,7 +4990,6 @@ opaque require (?s)outerthree.*outerfour.*innerone.*innertwo ---- ----- &errbase.opaqueWrapper{ cause: &secondary.withSecondaryError{ cause: &errutil.withPrefix{ @@ -4824,47 +5234,82 @@ Error types: (1) *errbase.opaqueWrapper (2) *secondary.withSecondaryError (3) *e ===== Sentry reporting ===== == Message payload -:: new-style × -× (payload): × -× --- +:: new-style ×: × +(1) + | (opaque error wrapper) + | type name: github.com/cockroachdb/errors/withstack/*withstack.withStack + | reportable 0: + | + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (2) secondary error attachment + | payload + | (1) + | | (opaque error wrapper) + | | type name: github.com/cockroachdb/errors/withstack/*withstack.withStack + | | reportable 0: + | | + | | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | | : + | | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | | : + | | github.com/cockroachdb/datadriven.runDirective.func1 + | | : + | | github.com/cockroachdb/datadriven.runDirective + | | : + | | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | | : + | | github.com/cockroachdb/datadriven.runTestInternal + | | : + | | github.com/cockroachdb/datadriven.RunTest + | | : + | | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | | : + | | github.com/cockroachdb/datadriven.Walk + | | : + | | github.com/cockroachdb/datadriven.Walk.func1 + | | : + | | testing.tRunner + | | : + | | runtime.goexit + | | : + | Wraps: (2) payload + | Error types: (1) *errbase.opaqueWrapper (2) *errutil.leafError +Wraps: (3) new-style × + | × (payload) +Wraps: (4) × + | × + | + | (opaque error leaf) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.errFmt +Error types: (1) *errbase.opaqueWrapper (2) *secondary.withSecondaryError (3) *errutil.withPrefix (4) *errbase.opaqueLeaf +-- report composition: *fmttests.errFmt -*errutil.withPrefix: new-style × (1) -*secondary.withSecondaryError: details for github.com/cockroachdb/errors/withstack/*withstack.withStack::: (2) +*errutil.withPrefix: new-style × +*secondary.withSecondaryError: details for github.com/cockroachdb/errors/withstack/*withstack.withStack::: :: *withstack.withStack (top exception) -(check the extra data payloads) -== Extra "1: details" -new-style × - × (payload) -== Extra "2: details" -details for github.com/cockroachdb/errors/withstack/*withstack.withStack::: - - github.com/cockroachdb/errors/fmttests.glob...funcNN... - : - github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 - : - github.com/cockroachdb/datadriven.runDirective.func1 - : - github.com/cockroachdb/datadriven.runDirective - : - github.com/cockroachdb/datadriven.runDirectiveOrSubTest - : - github.com/cockroachdb/datadriven.runTestInternal - : - github.com/cockroachdb/datadriven.RunTest - : - github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 - : - github.com/cockroachdb/datadriven.Walk - : - github.com/cockroachdb/datadriven.Walk.func1 - : - testing.tRunner - : - runtime.goexit - : -details for github.com/cockroachdb/errors/errutil/*errutil.leafError::: - payload == Extra "error types" github.com/cockroachdb/errors/fmttests/*fmttests.errFmt (*::) github.com/cockroachdb/errors/errutil/*errutil.withPrefix (*::) @@ -4872,7 +5317,7 @@ github.com/cockroachdb/errors/secondary/*secondary.withSecondaryError (*::) github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*fmttests.errFmt: new-style ×\n× (payload): ×\n×\nvia *withstack.withStack" +Title: "*fmttests.errFmt: new-style ×: ×\nvia *withstack.withStack" :: (runtime) goexit() :: @@ -4897,5 +5342,3 @@ Title: "*fmttests.errFmt: new-style ×\n× (payload): ×\n×\nvia *withstack.wit (github.com/cockroachdb/errors/fmttests.TestDatadriven.func2) 1() :: (github.com/cockroachdb/errors/fmttests.glob.)...funcNN... ----- ----- diff --git a/fmttests/testdata/format/wrap-goerr b/fmttests/testdata/format/wrap-goerr index c0d3dce..79388da 100644 --- a/fmttests/testdata/format/wrap-goerr +++ b/fmttests/testdata/format/wrap-goerr @@ -6,8 +6,8 @@ require (?s) ---- &assert.withAssertionFailure{ cause: &withstack.withStack{ - cause: &barriers.barrierError{ - msg: "innerone\ninnertwo", + cause: &barriers.barrierErr{ + smsg: "‹innerone›\n‹innertwo›", maskedErr: &errors.errorString{s:"innerone\ninnertwo"}, }, stack: &stack{...}, @@ -19,8 +19,8 @@ require (?s) == %#v &assert.withAssertionFailure{ cause: &withstack.withStack{ - cause: &barriers.barrierError{ - msg: "innerone\ninnertwo", + cause: &barriers.barrierErr{ + smsg: "‹innerone›\n‹innertwo›", maskedErr: &errors.errorString{s:"innerone\ninnertwo"}, }, stack: &stack{...}, @@ -70,7 +70,7 @@ Wraps: (3) innerone | (1) innerone | | innertwo | Error types: (1) *errors.errorString -Error types: (1) *assert.withAssertionFailure (2) *withstack.withStack (3) *barriers.barrierError +Error types: (1) *assert.withAssertionFailure (2) *withstack.withStack (3) *barriers.barrierErr == %#v via Formattable() = %#v, good == %v via Formattable() = Error(), good == %s via Formattable() = %v via Formattable(), good @@ -123,24 +123,58 @@ Wraps: (3) ‹innerone› | (1) ‹innerone›‹› | ‹ | innertwo› | Error types: (1) *errors.errorString -Error types: (1) *assert.withAssertionFailure (2) *withstack.withStack (3) *barriers.barrierError +Error types: (1) *assert.withAssertionFailure (2) *withstack.withStack (3) *barriers.barrierErr ===== ===== Sentry reporting ===== == Message payload :: × -× --- -*barriers.barrierError +(1) assertion failure +Wraps: (2) attached stack trace + -- stack trace: + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (3) × + | × + | -- cause hidden behind barrier + | × + | (1) ×× + | × + | Error types: (1) *errors.errorString +Error types: (1) *assert.withAssertionFailure (2) *withstack.withStack (3) *barriers.barrierErr +-- report composition: +*barriers.barrierErr: masked error: × :: *withstack.withStack (top exception) *assert.withAssertionFailure == Extra "error types" -github.com/cockroachdb/errors/barriers/*barriers.barrierError (*::) +github.com/cockroachdb/errors/barriers/*barriers.barrierErr (*::) github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) github.com/cockroachdb/errors/assert/*assert.withAssertionFailure (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*barriers.barrierError: ×\n×\nvia *withstack.withStack" +Title: "*barriers.barrierErr: ×\nvia *withstack.withStack" :: (runtime) goexit() :: @@ -175,8 +209,8 @@ require (?s)outerthree.*outerfour.* &assert.withAssertionFailure{ cause: &withstack.withStack{ cause: &errutil.withPrefix{ - cause: &barriers.barrierError{ - msg: "innerone\ninnertwo", + cause: &barriers.barrierErr{ + smsg: "‹innerone›\n‹innertwo›", maskedErr: &errors.errorString{s:"innerone\ninnertwo"}, }, prefix: "assertmsg: ‹outerthree›\n‹outerfour›", @@ -191,8 +225,8 @@ require (?s)outerthree.*outerfour.* &assert.withAssertionFailure{ cause: &withstack.withStack{ cause: &errutil.withPrefix{ - cause: &barriers.barrierError{ - msg: "innerone\ninnertwo", + cause: &barriers.barrierErr{ + smsg: "‹innerone›\n‹innertwo›", maskedErr: &errors.errorString{s:"innerone\ninnertwo"}, }, prefix: "assertmsg: ‹outerthree›\n‹outerfour›", @@ -247,7 +281,7 @@ Wraps: (4) innerone | (1) innerone | | innertwo | Error types: (1) *errors.errorString -Error types: (1) *assert.withAssertionFailure (2) *withstack.withStack (3) *errutil.withPrefix (4) *barriers.barrierError +Error types: (1) *assert.withAssertionFailure (2) *withstack.withStack (3) *errutil.withPrefix (4) *barriers.barrierErr == %#v via Formattable() = %#v, good == %v via Formattable() = Error(), good == %s via Formattable() = %v via Formattable(), good @@ -303,31 +337,62 @@ Wraps: (4) ‹innerone› | (1) ‹innerone›‹› | ‹ | innertwo› | Error types: (1) *errors.errorString -Error types: (1) *assert.withAssertionFailure (2) *withstack.withStack (3) *errutil.withPrefix (4) *barriers.barrierError +Error types: (1) *assert.withAssertionFailure (2) *withstack.withStack (3) *errutil.withPrefix (4) *barriers.barrierErr ===== ===== Sentry reporting ===== == Message payload -:: assertmsg: × -×: × -× --- -*barriers.barrierError -*errutil.withPrefix: assertmsg: × (1) +:: assertmsg: ×: × +(1) assertion failure +Wraps: (2) attached stack trace + -- stack trace: + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (3) assertmsg: × + | × +Wraps: (4) × + | × + | -- cause hidden behind barrier + | × + | (1) ×× + | × + | Error types: (1) *errors.errorString +Error types: (1) *assert.withAssertionFailure (2) *withstack.withStack (3) *errutil.withPrefix (4) *barriers.barrierErr +-- report composition: +*barriers.barrierErr: masked error: × +*errutil.withPrefix: assertmsg: × :: *withstack.withStack (top exception) *assert.withAssertionFailure -(check the extra data payloads) -== Extra "1: details" -assertmsg: × - × == Extra "error types" -github.com/cockroachdb/errors/barriers/*barriers.barrierError (*::) +github.com/cockroachdb/errors/barriers/*barriers.barrierErr (*::) github.com/cockroachdb/errors/errutil/*errutil.withPrefix (*::) github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) github.com/cockroachdb/errors/assert/*assert.withAssertionFailure (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*barriers.barrierError: assertmsg: ×\n×: ×\n×\nvia *withstack.withStack" +Title: "*barriers.barrierErr: assertmsg: ×: ×\nvia *withstack.withStack" :: (runtime) goexit() :: @@ -359,16 +424,16 @@ barrier outerthree outerfour require (?s) ---- -&barriers.barrierError{ - msg: "innerone\ninnertwo", +&barriers.barrierErr{ + smsg: "‹innerone›\n‹innertwo›", maskedErr: &errors.errorString{s:"innerone\ninnertwo"}, } ===== ===== non-redactable formats ===== == %#v -&barriers.barrierError{ - msg: "innerone\ninnertwo", +&barriers.barrierErr{ + smsg: "‹innerone›\n‹innertwo›", maskedErr: &errors.errorString{s:"innerone\ninnertwo"}, } == Error() @@ -388,7 +453,7 @@ innerone | (1) innerone | | innertwo | Error types: (1) *errors.errorString -Error types: (1) *barriers.barrierError +Error types: (1) *barriers.barrierErr == %#v via Formattable() = %#v, good == %v via Formattable() = Error(), good == %s via Formattable() = %v via Formattable(), good @@ -414,20 +479,27 @@ Error types: (1) *barriers.barrierError | (1) ‹innerone›‹› | ‹ | innertwo› | Error types: (1) *errors.errorString -Error types: (1) *barriers.barrierError +Error types: (1) *barriers.barrierErr ===== ===== Sentry reporting ===== == Message payload × -× --- -*barriers.barrierError +(1) × + | × + | -- cause hidden behind barrier + | × + | (1) ×× + | × + | Error types: (1) *errors.errorString +Error types: (1) *barriers.barrierErr +-- report composition: +*barriers.barrierErr: masked error: × == Extra "error types" -github.com/cockroachdb/errors/barriers/*barriers.barrierError (*::) +github.com/cockroachdb/errors/barriers/*barriers.barrierErr (*::) == Exception 1 (Module: "error domain: ") -Type: "*barriers.barrierError" -Title: "×\n×" +Type: "*barriers.barrierErr" +Title: "×" (NO STACKTRACE) run @@ -496,10 +568,15 @@ Error types: (1) *fmttests.werrDelegate (2) *errors.errorString ===== Sentry reporting ===== == Message payload -× ×: × +(1) ×× × --- +× +× +Wraps: (2) ×× +× +Error types: (1) *fmttests.werrDelegate (2) *errors.errorString +-- report composition: *errors.errorString *fmttests.werrDelegate == Extra "error types" @@ -507,7 +584,7 @@ errors/*errors.errorString (*::) github.com/cockroachdb/errors/fmttests/*fmttests.werrDelegate (*::) == Exception 1 (Module: "error domain: ") Type: "*errors.errorString" -Title: "×\n×: ×\n×" +Title: "×: ×" (NO STACKTRACE) run @@ -567,8 +644,11 @@ Error types: (1) *fmttests.werrDelegateEmpty (2) *errors.errorString ===== == Message payload × +(1) +Wraps: (2) ×× × --- +Error types: (1) *fmttests.werrDelegateEmpty (2) *errors.errorString +-- report composition: *errors.errorString *fmttests.werrDelegateEmpty == Extra "error types" @@ -576,7 +656,7 @@ errors/*errors.errorString (*::) github.com/cockroachdb/errors/fmttests/*fmttests.werrDelegateEmpty (*::) == Exception 1 (Module: "error domain: ") Type: "*errors.errorString" -Title: "×\n×" +Title: "×" (NO STACKTRACE) run @@ -636,8 +716,11 @@ Error types: (1) *fmttests.werrDelegateNoPrefix (2) *errors.errorString ===== == Message payload × +(1) × +Wraps: (2) ×× × --- +Error types: (1) *fmttests.werrDelegateNoPrefix (2) *errors.errorString +-- report composition: *errors.errorString *fmttests.werrDelegateNoPrefix == Extra "error types" @@ -645,7 +728,7 @@ errors/*errors.errorString (*::) github.com/cockroachdb/errors/fmttests/*fmttests.werrDelegateNoPrefix (*::) == Exception 1 (Module: "error domain: ") Type: "*errors.errorString" -Title: "×\n×" +Title: "×" (NO STACKTRACE) run @@ -709,8 +792,12 @@ Error types: (1) *hintdetail.withDetail (2) *errors.errorString ===== == Message payload × +(1) × +× +Wraps: (2) ×× × --- +Error types: (1) *hintdetail.withDetail (2) *errors.errorString +-- report composition: *errors.errorString *hintdetail.withDetail == Extra "error types" @@ -718,7 +805,7 @@ errors/*errors.errorString (*::) github.com/cockroachdb/errors/hintdetail/*hintdetail.withDetail (*::) == Exception 1 (Module: "error domain: ") Type: "*errors.errorString" -Title: "×\n×" +Title: "×" (NO STACKTRACE) run @@ -780,19 +867,19 @@ Error types: (1) *domains.withDomain (2) *errors.errorString ===== == Message payload × +(1) mydomain +Wraps: (2) ×× × --- +Error types: (1) *domains.withDomain (2) *errors.errorString +-- report composition: *errors.errorString -*domains.withDomain: mydomain (1) -(check the extra data payloads) -== Extra "1: details" -mydomain +*domains.withDomain: mydomain == Extra "error types" errors/*errors.errorString (*::) github.com/cockroachdb/errors/domains/*domains.withDomain (*::mydomain) == Exception 1 (Module: "mydomain") Type: "*errors.errorString" -Title: "×\n×" +Title: "×" (NO STACKTRACE) run @@ -856,8 +943,12 @@ Error types: (1) *fmttests.werrWithElidedCause (2) *errors.errorString ===== == Message payload × +(1) ×× × --- +Wraps: (2) ×× +× +Error types: (1) *fmttests.werrWithElidedCause (2) *errors.errorString +-- report composition: *errors.errorString *fmttests.werrWithElidedCause == Extra "error types" @@ -865,7 +956,7 @@ errors/*errors.errorString (*::) github.com/cockroachdb/errors/fmttests/*fmttests.werrWithElidedCause (*::) == Exception 1 (Module: "error domain: ") Type: "*errors.errorString" -Title: "×\n×" +Title: "×" (NO STACKTRACE) run @@ -925,8 +1016,11 @@ Error types: (1) *fmttests.werrEmpty (2) *errors.errorString ===== == Message payload × +(1) +Wraps: (2) ×× × --- +Error types: (1) *fmttests.werrEmpty (2) *errors.errorString +-- report composition: *errors.errorString *fmttests.werrEmpty == Extra "error types" @@ -934,7 +1028,7 @@ errors/*errors.errorString (*::) github.com/cockroachdb/errors/fmttests/*fmttests.werrEmpty (*::) == Exception 1 (Module: "error domain: ") Type: "*errors.errorString" -Title: "×\n×" +Title: "×" (NO STACKTRACE) run @@ -1005,10 +1099,16 @@ Error types: (1) *fmttests.werrFmt (2) *errors.errorString ===== Sentry reporting ===== == Message payload -× ×: × +(1) ×× × --- +× +× +× +Wraps: (2) ×× +× +Error types: (1) *fmttests.werrFmt (2) *errors.errorString +-- report composition: *errors.errorString *fmttests.werrFmt == Extra "error types" @@ -1016,7 +1116,7 @@ errors/*errors.errorString (*::) github.com/cockroachdb/errors/fmttests/*fmttests.werrFmt (*::) == Exception 1 (Module: "error domain: ") Type: "*errors.errorString" -Title: "×\n×: ×\n×" +Title: "×: ×" (NO STACKTRACE) run @@ -1090,10 +1190,13 @@ Error types: (1) *fmttests.werrFmto (2) *errors.errorString ===== Sentry reporting ===== == Message payload -× ×: × +(1) ×× × --- +Wraps: (2) ×× +× +Error types: (1) *fmttests.werrFmto (2) *errors.errorString +-- report composition: *errors.errorString *fmttests.werrFmto == Extra "error types" @@ -1101,7 +1204,7 @@ errors/*errors.errorString (*::) github.com/cockroachdb/errors/fmttests/*fmttests.werrFmto (*::) == Exception 1 (Module: "error domain: ") Type: "*errors.errorString" -Title: "×\n×: ×\n×" +Title: "×: ×" (NO STACKTRACE) run @@ -1175,10 +1278,13 @@ Error types: (1) *fmttests.werrFmtoDelegate (2) *errors.errorString ===== Sentry reporting ===== == Message payload -× ×: × +(1) ×× × --- +Wraps: (2) ×× +× +Error types: (1) *fmttests.werrFmtoDelegate (2) *errors.errorString +-- report composition: *errors.errorString *fmttests.werrFmtoDelegate == Extra "error types" @@ -1186,7 +1292,7 @@ errors/*errors.errorString (*::) github.com/cockroachdb/errors/fmttests/*fmttests.werrFmtoDelegate (*::) == Exception 1 (Module: "error domain: ") Type: "*errors.errorString" -Title: "×\n×: ×\n×" +Title: "×: ×" (NO STACKTRACE) run @@ -1251,10 +1357,13 @@ Error types: (1) *fmttests.werrFmtp (2) *errors.errorString ===== Sentry reporting ===== == Message payload -× ×: × +(1) ×× × --- +Wraps: (2) ×× +× +Error types: (1) *fmttests.werrFmtp (2) *errors.errorString +-- report composition: *errors.errorString *fmttests.werrFmtp == Extra "error types" @@ -1262,7 +1371,7 @@ errors/*errors.errorString (*::) github.com/cockroachdb/errors/fmttests/*fmttests.werrFmtp (*::) == Exception 1 (Module: "error domain: ") Type: "*errors.errorString" -Title: "×\n×: ×\n×" +Title: "×: ×" (NO STACKTRACE) run @@ -1331,10 +1440,13 @@ Error types: (1) *fmt.wrapError (2) *errors.errorString ===== Sentry reporting ===== == Message payload -× ×: × +(1) ×× × --- +Wraps: (2) ×× +× +Error types: (1) *fmt.wrapError (2) *errors.errorString +-- report composition: *errors.errorString *fmt.wrapError == Extra "error types" @@ -1342,7 +1454,7 @@ errors/*errors.errorString (*::) fmt/*fmt.wrapError (*::) == Exception 1 (Module: "error domain: ") Type: "*errors.errorString" -Title: "×\n×: ×\n×" +Title: "×: ×" (NO STACKTRACE) run @@ -1352,8 +1464,8 @@ handled-domain outerthree outerfour require (?s) ---- &domains.withDomain{ - cause: &barriers.barrierError{ - msg: "innerone\ninnertwo", + cause: &barriers.barrierErr{ + smsg: "‹innerone›\n‹innertwo›", maskedErr: &errors.errorString{s:"innerone\ninnertwo"}, }, domain: "error domain: pkg ", @@ -1363,8 +1475,8 @@ require (?s) ===== == %#v &domains.withDomain{ - cause: &barriers.barrierError{ - msg: "innerone\ninnertwo", + cause: &barriers.barrierErr{ + smsg: "‹innerone›\n‹innertwo›", maskedErr: &errors.errorString{s:"innerone\ninnertwo"}, }, domain: "error domain: pkg ", @@ -1387,7 +1499,7 @@ Wraps: (2) innerone | (1) innerone | | innertwo | Error types: (1) *errors.errorString -Error types: (1) *domains.withDomain (2) *barriers.barrierError +Error types: (1) *domains.withDomain (2) *barriers.barrierErr == %#v via Formattable() = %#v, good == %v via Formattable() = Error(), good == %s via Formattable() = %v via Formattable(), good @@ -1414,25 +1526,30 @@ Wraps: (2) ‹innerone› | (1) ‹innerone›‹› | ‹ | innertwo› | Error types: (1) *errors.errorString -Error types: (1) *domains.withDomain (2) *barriers.barrierError +Error types: (1) *domains.withDomain (2) *barriers.barrierErr ===== ===== Sentry reporting ===== == Message payload × -× --- -*barriers.barrierError -*domains.withDomain: error domain: pkg (1) -(check the extra data payloads) -== Extra "1: details" -error domain: pkg +(1) error domain: pkg +Wraps: (2) × + | × + | -- cause hidden behind barrier + | × + | (1) ×× + | × + | Error types: (1) *errors.errorString +Error types: (1) *domains.withDomain (2) *barriers.barrierErr +-- report composition: +*barriers.barrierErr: masked error: × +*domains.withDomain: error domain: pkg == Extra "error types" -github.com/cockroachdb/errors/barriers/*barriers.barrierError (*::) +github.com/cockroachdb/errors/barriers/*barriers.barrierErr (*::) github.com/cockroachdb/errors/domains/*domains.withDomain (*::error domain: pkg ) == Exception 1 (Module: "error domain: pkg ") -Type: "*barriers.barrierError" -Title: "×\n×" +Type: "*barriers.barrierErr" +Title: "×" (NO STACKTRACE) run @@ -1496,8 +1613,12 @@ Error types: (1) *hintdetail.withHint (2) *errors.errorString ===== == Message payload × +(1) × +× +Wraps: (2) ×× × --- +Error types: (1) *hintdetail.withHint (2) *errors.errorString +-- report composition: *errors.errorString *hintdetail.withHint == Extra "error types" @@ -1505,7 +1626,7 @@ errors/*errors.errorString (*::) github.com/cockroachdb/errors/hintdetail/*hintdetail.withHint (*::) == Exception 1 (Module: "error domain: ") Type: "*errors.errorString" -Title: "×\n×" +Title: "×" (NO STACKTRACE) run @@ -1571,21 +1692,21 @@ Error types: (1) *issuelink.withIssueLink (2) *errors.errorString ===== == Message payload × +(1) issue: https://mysite + | detail: outerthree + | outerfour +Wraps: (2) ×× × --- +Error types: (1) *issuelink.withIssueLink (2) *errors.errorString +-- report composition: *errors.errorString -*issuelink.withIssueLink: https://mysite (1) -(check the extra data payloads) -== Extra "1: details" -https://mysite -outerthree - outerfour +*issuelink.withIssueLink: https://mysite == Extra "error types" errors/*errors.errorString (*::) github.com/cockroachdb/errors/issuelink/*issuelink.withIssueLink (*::) == Exception 1 (Module: "error domain: ") Type: "*errors.errorString" -Title: "×\n×" +Title: "×" (NO STACKTRACE) run @@ -1645,8 +1766,11 @@ Error types: (1) *fmttests.werrMigrated (2) *errors.errorString ===== == Message payload × +(1) +Wraps: (2) ×× × --- +Error types: (1) *fmttests.werrMigrated (2) *errors.errorString +-- report composition: *errors.errorString *fmttests.werrMigrated == Extra "error types" @@ -1654,7 +1778,7 @@ errors/*errors.errorString (*::) github.com/cockroachdb/errors/fmttests/*fmttests.werrMigrated (some/previous/path/prevpkg.prevType::) == Exception 1 (Module: "error domain: ") Type: "*errors.errorString" -Title: "×\n×" +Title: "×" (NO STACKTRACE) run @@ -1719,22 +1843,21 @@ Error types: (1) *errutil.withPrefix (2) *errors.errorString ===== Sentry reporting ===== == Message payload -outerthree -outerfour: × +outerthree: × +(1) outerthree + | outerfour +Wraps: (2) ×× × --- +Error types: (1) *errutil.withPrefix (2) *errors.errorString +-- report composition: *errors.errorString -*errutil.withPrefix: outerthree (1) -(check the extra data payloads) -== Extra "1: details" -outerthree - outerfour +*errutil.withPrefix: outerthree == Extra "error types" errors/*errors.errorString (*::) github.com/cockroachdb/errors/errutil/*errutil.withPrefix (*::) == Exception 1 (Module: "error domain: ") Type: "*errors.errorString" -Title: "outerthree\nouterfour: ×\n×" +Title: "outerthree: ×" (NO STACKTRACE) run @@ -1876,18 +1999,48 @@ Error types: (1) *withstack.withStack (2) *secondary.withSecondaryError (3) *err ===== == Message payload :: new-style (× -×) :: × -× :: --- +(1) attached stack trace + -- stack trace: + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (2) secondary error attachment + | × + | (1) ×× + | × + | Error types: (1) *errors.errorString +Wraps: (3) new-style (× + | ×) :: × + | × :: +Wraps: (4) ×× +× +Error types: (1) *withstack.withStack (2) *secondary.withSecondaryError (3) *errutil.withNewMessage (4) *errors.errorString +-- report composition: *errors.errorString -*errutil.withNewMessage: new-style (× (1) +*errutil.withNewMessage: new-style (× *secondary.withSecondaryError :: *withstack.withStack (top exception) -(check the extra data payloads) -== Extra "1: details" -new-style (× - ×) :: × - × :: == Extra "error types" errors/*errors.errorString (*::) github.com/cockroachdb/errors/errutil/*errutil.withNewMessage (*::) @@ -1895,7 +2048,7 @@ github.com/cockroachdb/errors/secondary/*secondary.withSecondaryError (*::) github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errors.errorString: new-style (×\n×) :: ×\n× ::\nvia *withstack.withStack" +Title: "*errors.errorString: new-style (×\nvia *withstack.withStack" :: (runtime) goexit() :: @@ -1987,10 +2140,13 @@ Error types: (1) *fmttests.werrNoFmt (2) *errors.errorString ===== Sentry reporting ===== == Message payload -× ×: × +(1) ×× × --- +Wraps: (2) ×× +× +Error types: (1) *fmttests.werrNoFmt (2) *errors.errorString +-- report composition: *errors.errorString *fmttests.werrNoFmt == Extra "error types" @@ -1998,7 +2154,7 @@ errors/*errors.errorString (*::) github.com/cockroachdb/errors/fmttests/*fmttests.werrNoFmt (*::) == Exception 1 (Module: "error domain: ") Type: "*errors.errorString" -Title: "×\n×: ×\n×" +Title: "×: ×" (NO STACKTRACE) run @@ -2068,8 +2224,11 @@ Error types: (1) *os.LinkError (2) *errors.errorString ===== == Message payload link × ×: × +(1) link × × +Wraps: (2) ×× × --- +Error types: (1) *os.LinkError (2) *errors.errorString +-- report composition: *errors.errorString *os.LinkError == Extra "error types" @@ -2077,7 +2236,7 @@ errors/*errors.errorString (*::) os/*os.LinkError (*::) == Exception 1 (Module: "error domain: ") Type: "*errors.errorString" -Title: "link × ×: ×\n×" +Title: "link × ×: ×" (NO STACKTRACE) run @@ -2149,8 +2308,11 @@ Error types: (1) *net.OpError (2) *errors.errorString ===== == Message payload send tcp ×: × +(1) send tcp × +Wraps: (2) ×× × --- +Error types: (1) *net.OpError (2) *errors.errorString +-- report composition: *errors.errorString *net.OpError == Extra "error types" @@ -2158,7 +2320,7 @@ errors/*errors.errorString (*::) net/*net.OpError (*::) == Exception 1 (Module: "error domain: ") Type: "*errors.errorString" -Title: "send tcp ×: ×\n×" +Title: "send tcp ×: ×" (NO STACKTRACE) run @@ -2226,8 +2388,11 @@ Error types: (1) *fs.PathError (2) *errors.errorString ===== == Message payload link ×: × +(1) link × +Wraps: (2) ×× × --- +Error types: (1) *fs.PathError (2) *errors.errorString +-- report composition: *errors.errorString *fs.PathError == Extra "error types" @@ -2235,7 +2400,7 @@ errors/*errors.errorString (*::) io/fs/*fs.PathError (os/*os.PathError::) == Exception 1 (Module: "error domain: ") Type: "*errors.errorString" -Title: "link ×: ×\n×" +Title: "link ×: ×" (NO STACKTRACE) run @@ -2301,8 +2466,11 @@ Error types: (1) *os.SyscallError (2) *errors.errorString ===== == Message payload open: × +(1) open +Wraps: (2) ×× × --- +Error types: (1) *os.SyscallError (2) *errors.errorString +-- report composition: *errors.errorString *os.SyscallError == Extra "error types" @@ -2310,7 +2478,7 @@ errors/*errors.errorString (*::) os/*os.SyscallError (*::) == Exception 1 (Module: "error domain: ") Type: "*errors.errorString" -Title: "open: ×\n×" +Title: "open: ×" (NO STACKTRACE) run @@ -2392,10 +2560,13 @@ Error types: (1) *errors.withMessage (2) *errors.errorString ===== Sentry reporting ===== == Message payload -× ×: × +(1) ×× × --- +Wraps: (2) ×× +× +Error types: (1) *errors.withMessage (2) *errors.errorString +-- report composition: *errors.errorString *errors.withMessage == Extra "error types" @@ -2403,7 +2574,7 @@ errors/*errors.errorString (*::) github.com/pkg/errors/*errors.withMessage (*::) == Exception 1 (Module: "error domain: ") Type: "*errors.errorString" -Title: "×\n×: ×\n×" +Title: "×: ×" (NO STACKTRACE) run @@ -2550,8 +2721,36 @@ Error types: (1) *errors.withStack (2) *errors.errorString ===== == Message payload :: × +(1) + -- stack trace: + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (2) ×× × --- +Error types: (1) *errors.withStack (2) *errors.errorString +-- report composition: *errors.errorString :: *errors.withStack (top exception) == Extra "error types" @@ -2559,7 +2758,7 @@ errors/*errors.errorString (*::) github.com/pkg/errors/*errors.withStack (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errors.errorString: ×\n×\nvia *errors.withStack" +Title: "*errors.errorString: ×\nvia *errors.withStack" :: (runtime) goexit() :: @@ -2646,20 +2845,20 @@ Error types: (1) *safedetails.withSafeDetails (2) *errors.errorString ===== == Message payload × +(1) safe × + | × +Wraps: (2) ×× × --- +Error types: (1) *safedetails.withSafeDetails (2) *errors.errorString +-- report composition: *errors.errorString -*safedetails.withSafeDetails: safe × (1) -(check the extra data payloads) -== Extra "1: details" -safe × - × +*safedetails.withSafeDetails: safe × == Extra "error types" errors/*errors.errorString (*::) github.com/cockroachdb/errors/safedetails/*safedetails.withSafeDetails (*::) == Exception 1 (Module: "error domain: ") Type: "*errors.errorString" -Title: "×\n×" +Title: "×" (NO STACKTRACE) run @@ -2724,10 +2923,13 @@ Error types: (1) *fmttests.werrSafeFormat (2) *errors.errorString ===== Sentry reporting ===== == Message payload -safe × -×: × +safe ×: × +(1) safe × + | × +Wraps: (2) ×× × --- +Error types: (1) *fmttests.werrSafeFormat (2) *errors.errorString +-- report composition: *errors.errorString *fmttests.werrSafeFormat == Extra "error types" @@ -2735,7 +2937,7 @@ errors/*errors.errorString (*::) github.com/cockroachdb/errors/fmttests/*fmttests.werrSafeFormat (*::) == Exception 1 (Module: "error domain: ") Type: "*errors.errorString" -Title: "safe ×\n×: ×\n×" +Title: "safe ×: ×" (NO STACKTRACE) run @@ -2744,7 +2946,6 @@ secondary outerthree outerfour require (?s) ---- ----- &secondary.withSecondaryError{ cause: &errors.errorString{s:"innerone\ninnertwo"}, secondaryError: &withstack.withStack{ @@ -2864,50 +3065,50 @@ Error types: (1) *secondary.withSecondaryError (2) *errors.errorString ===== == Message payload × +(1) secondary error attachment + | outerthree + | (1) attached stack trace + | -- stack trace: + | | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | | : + | | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | | : + | | github.com/cockroachdb/datadriven.runDirective.func1 + | | : + | | github.com/cockroachdb/datadriven.runDirective + | | : + | | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | | : + | | github.com/cockroachdb/datadriven.runTestInternal + | | : + | | github.com/cockroachdb/datadriven.RunTest + | | : + | | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | | : + | | github.com/cockroachdb/datadriven.Walk + | | : + | | github.com/cockroachdb/datadriven.Walk.func1 + | | : + | | testing.tRunner + | | : + | | runtime.goexit + | | : + | Wraps: (2) outerthree + | | outerfour + | Error types: (1) *withstack.withStack (2) *errutil.leafError +Wraps: (2) ×× × --- +Error types: (1) *secondary.withSecondaryError (2) *errors.errorString +-- report composition: *errors.errorString -*secondary.withSecondaryError: details for github.com/cockroachdb/errors/withstack/*withstack.withStack::: (1) -(check the extra data payloads) -== Extra "1: details" -details for github.com/cockroachdb/errors/withstack/*withstack.withStack::: - - github.com/cockroachdb/errors/fmttests.glob...funcNN... - : - github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 - : - github.com/cockroachdb/datadriven.runDirective.func1 - : - github.com/cockroachdb/datadriven.runDirective - : - github.com/cockroachdb/datadriven.runDirectiveOrSubTest - : - github.com/cockroachdb/datadriven.runTestInternal - : - github.com/cockroachdb/datadriven.RunTest - : - github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 - : - github.com/cockroachdb/datadriven.Walk - : - github.com/cockroachdb/datadriven.Walk.func1 - : - testing.tRunner - : - runtime.goexit - : -details for github.com/cockroachdb/errors/errutil/*errutil.leafError::: - outerthree - outerfour +*secondary.withSecondaryError: details for github.com/cockroachdb/errors/withstack/*withstack.withStack::: == Extra "error types" errors/*errors.errorString (*::) github.com/cockroachdb/errors/secondary/*secondary.withSecondaryError (*::) == Exception 1 (Module: "error domain: ") Type: "*errors.errorString" -Title: "×\n×" +Title: "×" (NO STACKTRACE) ----- ----- run goerr innerone innertwo @@ -3018,8 +3219,36 @@ Error types: (1) *withstack.withStack (2) *errors.errorString ===== == Message payload :: × +(1) attached stack trace + -- stack trace: + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (2) ×× × --- +Error types: (1) *withstack.withStack (2) *errors.errorString +-- report composition: *errors.errorString :: *withstack.withStack (top exception) == Extra "error types" @@ -3027,7 +3256,7 @@ errors/*errors.errorString (*::) github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errors.errorString: ×\n×\nvia *withstack.withStack" +Title: "*errors.errorString: ×\nvia *withstack.withStack" :: (runtime) goexit() :: @@ -3168,20 +3397,19 @@ Error types: (1) *contexttags.withContext (2) *errors.errorString ===== == Message payload × +(1) tags: [k×,safe=456] +Wraps: (2) ×× × --- +Error types: (1) *contexttags.withContext (2) *errors.errorString +-- report composition: *errors.errorString -*contexttags.withContext: k× (1) -(check the extra data payloads) -== Extra "1: details" -k× -safe=456 +*contexttags.withContext: k× == Extra "error types" errors/*errors.errorString (*::) github.com/cockroachdb/errors/contexttags/*contexttags.withContext (*::) == Exception 1 (Module: "error domain: ") Type: "*errors.errorString" -Title: "×\n×" +Title: "×" (NO STACKTRACE) run @@ -3245,21 +3473,20 @@ Error types: (1) *telemetrykeys.withTelemetry (2) *errors.errorString ===== == Message payload × +(1) keys: [somekey outerthree + | outerfour] +Wraps: (2) ×× × --- +Error types: (1) *telemetrykeys.withTelemetry (2) *errors.errorString +-- report composition: *errors.errorString -*telemetrykeys.withTelemetry: somekey (1) -(check the extra data payloads) -== Extra "1: details" -somekey -outerthree - outerfour +*telemetrykeys.withTelemetry: somekey == Extra "error types" errors/*errors.errorString (*::) github.com/cockroachdb/errors/telemetrykeys/*telemetrykeys.withTelemetry (*::) == Exception 1 (Module: "error domain: ") Type: "*errors.errorString" -Title: "×\n×" +Title: "×" (NO STACKTRACE) run @@ -3382,24 +3609,49 @@ Error types: (1) *withstack.withStack (2) *errutil.withPrefix (3) *errors.errorS ===== Sentry reporting ===== == Message payload -:: new-stylew × -×: × +:: new-stylew ×: × +(1) attached stack trace + -- stack trace: + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (2) new-stylew × + | × +Wraps: (3) ×× × --- +Error types: (1) *withstack.withStack (2) *errutil.withPrefix (3) *errors.errorString +-- report composition: *errors.errorString -*errutil.withPrefix: new-stylew × (1) +*errutil.withPrefix: new-stylew × :: *withstack.withStack (top exception) -(check the extra data payloads) -== Extra "1: details" -new-stylew × - × == Extra "error types" errors/*errors.errorString (*::) github.com/cockroachdb/errors/errutil/*errutil.withPrefix (*::) github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errors.errorString: new-stylew ×\n×: ×\n×\nvia *withstack.withStack" +Title: "*errors.errorString: new-stylew ×: ×\nvia *withstack.withStack" :: (runtime) goexit() :: @@ -3431,7 +3683,6 @@ wrapf-attached outerthree outerfour require (?s)outerthree.*outerfour.* ---- ----- &withstack.withStack{ cause: &secondary.withSecondaryError{ cause: &errutil.withPrefix{ @@ -3618,47 +3869,73 @@ Error types: (1) *withstack.withStack (2) *secondary.withSecondaryError (3) *err ===== Sentry reporting ===== == Message payload -:: new-style × -× (payload): × +:: new-style ×: × +(1) attached stack trace + -- stack trace: + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (2) secondary error attachment + | payload + | (1) attached stack trace + | -- stack trace: + | | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | | : + | | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | | : + | | github.com/cockroachdb/datadriven.runDirective.func1 + | | : + | | github.com/cockroachdb/datadriven.runDirective + | | : + | | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | | : + | | github.com/cockroachdb/datadriven.runTestInternal + | | : + | | github.com/cockroachdb/datadriven.RunTest + | | : + | | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | | : + | | github.com/cockroachdb/datadriven.Walk + | | : + | | github.com/cockroachdb/datadriven.Walk.func1 + | | : + | | testing.tRunner + | | : + | | runtime.goexit + | | : + | Wraps: (2) payload + | Error types: (1) *withstack.withStack (2) *errutil.leafError +Wraps: (3) new-style × + | × (payload) +Wraps: (4) ×× × --- +Error types: (1) *withstack.withStack (2) *secondary.withSecondaryError (3) *errutil.withPrefix (4) *errors.errorString +-- report composition: *errors.errorString -*errutil.withPrefix: new-style × (1) -*secondary.withSecondaryError: details for github.com/cockroachdb/errors/withstack/*withstack.withStack::: (2) +*errutil.withPrefix: new-style × +*secondary.withSecondaryError: details for github.com/cockroachdb/errors/withstack/*withstack.withStack::: :: *withstack.withStack (top exception) -(check the extra data payloads) -== Extra "1: details" -new-style × - × (payload) -== Extra "2: details" -details for github.com/cockroachdb/errors/withstack/*withstack.withStack::: - - github.com/cockroachdb/errors/fmttests.glob...funcNN... - : - github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 - : - github.com/cockroachdb/datadriven.runDirective.func1 - : - github.com/cockroachdb/datadriven.runDirective - : - github.com/cockroachdb/datadriven.runDirectiveOrSubTest - : - github.com/cockroachdb/datadriven.runTestInternal - : - github.com/cockroachdb/datadriven.RunTest - : - github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 - : - github.com/cockroachdb/datadriven.Walk - : - github.com/cockroachdb/datadriven.Walk.func1 - : - testing.tRunner - : - runtime.goexit - : -details for github.com/cockroachdb/errors/errutil/*errutil.leafError::: - payload == Extra "error types" errors/*errors.errorString (*::) github.com/cockroachdb/errors/errutil/*errutil.withPrefix (*::) @@ -3666,7 +3943,7 @@ github.com/cockroachdb/errors/secondary/*secondary.withSecondaryError (*::) github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errors.errorString: new-style ×\n× (payload): ×\n×\nvia *withstack.withStack" +Title: "*errors.errorString: new-style ×: ×\nvia *withstack.withStack" :: (runtime) goexit() :: @@ -3691,5 +3968,3 @@ Title: "*errors.errorString: new-style ×\n× (payload): ×\n×\nvia *withstack. (github.com/cockroachdb/errors/fmttests.TestDatadriven.func2) 1() :: (github.com/cockroachdb/errors/fmttests.glob.)...funcNN... ----- ----- diff --git a/fmttests/testdata/format/wrap-goerr-via-network b/fmttests/testdata/format/wrap-goerr-via-network index a276f06..131e23a 100644 --- a/fmttests/testdata/format/wrap-goerr-via-network +++ b/fmttests/testdata/format/wrap-goerr-via-network @@ -7,8 +7,8 @@ require (?s)innerone.*innertwo ---- &assert.withAssertionFailure{ cause: &errbase.opaqueWrapper{ - cause: &barriers.barrierError{ - msg: "innerone\ninnertwo", + cause: &barriers.barrierErr{ + smsg: "‹innerone›\n‹innertwo›", maskedErr: &errors.errorString{s:"innerone\ninnertwo"}, }, prefix: "", @@ -26,8 +26,8 @@ require (?s)innerone.*innertwo == %#v &assert.withAssertionFailure{ cause: &errbase.opaqueWrapper{ - cause: &barriers.barrierError{ - msg: "innerone\ninnertwo", + cause: &barriers.barrierErr{ + smsg: "‹innerone›\n‹innertwo›", maskedErr: &errors.errorString{s:"innerone\ninnertwo"}, }, prefix: "", @@ -86,7 +86,7 @@ Wraps: (3) innerone | (1) innerone | | innertwo | Error types: (1) *errors.errorString -Error types: (1) *assert.withAssertionFailure (2) *errbase.opaqueWrapper (3) *barriers.barrierError +Error types: (1) *assert.withAssertionFailure (2) *errbase.opaqueWrapper (3) *barriers.barrierErr == %#v via Formattable() = %#v, good == %v via Formattable() = Error(), good == %s via Formattable() = %v via Formattable(), good @@ -142,24 +142,61 @@ Wraps: (3) ‹innerone› | (1) ‹innerone›‹› | ‹ | innertwo› | Error types: (1) *errors.errorString -Error types: (1) *assert.withAssertionFailure (2) *errbase.opaqueWrapper (3) *barriers.barrierError +Error types: (1) *assert.withAssertionFailure (2) *errbase.opaqueWrapper (3) *barriers.barrierErr ===== ===== Sentry reporting ===== == Message payload :: × -× --- -*barriers.barrierError +(1) assertion failure +Wraps: (2) + | (opaque error wrapper) + | type name: github.com/cockroachdb/errors/withstack/*withstack.withStack + | reportable 0: + | + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (3) × + | × + | -- cause hidden behind barrier + | × + | (1) ×× + | × + | Error types: (1) *errors.errorString +Error types: (1) *assert.withAssertionFailure (2) *errbase.opaqueWrapper (3) *barriers.barrierErr +-- report composition: +*barriers.barrierErr: masked error: × :: *withstack.withStack (top exception) *assert.withAssertionFailure == Extra "error types" -github.com/cockroachdb/errors/barriers/*barriers.barrierError (*::) +github.com/cockroachdb/errors/barriers/*barriers.barrierErr (*::) github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) github.com/cockroachdb/errors/assert/*assert.withAssertionFailure (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*barriers.barrierError: ×\n×\nvia *withstack.withStack" +Title: "*barriers.barrierErr: ×\nvia *withstack.withStack" :: (runtime) goexit() :: @@ -195,8 +232,8 @@ require (?s)outerthree.*outerfour.*innerone.*innertwo &assert.withAssertionFailure{ cause: &errbase.opaqueWrapper{ cause: &errutil.withPrefix{ - cause: &barriers.barrierError{ - msg: "innerone\ninnertwo", + cause: &barriers.barrierErr{ + smsg: "‹innerone›\n‹innertwo›", maskedErr: &errors.errorString{s:"innerone\ninnertwo"}, }, prefix: "assertmsg: ‹outerthree›\n‹outerfour›", @@ -217,8 +254,8 @@ require (?s)outerthree.*outerfour.*innerone.*innertwo &assert.withAssertionFailure{ cause: &errbase.opaqueWrapper{ cause: &errutil.withPrefix{ - cause: &barriers.barrierError{ - msg: "innerone\ninnertwo", + cause: &barriers.barrierErr{ + smsg: "‹innerone›\n‹innertwo›", maskedErr: &errors.errorString{s:"innerone\ninnertwo"}, }, prefix: "assertmsg: ‹outerthree›\n‹outerfour›", @@ -282,7 +319,7 @@ Wraps: (4) innerone | (1) innerone | | innertwo | Error types: (1) *errors.errorString -Error types: (1) *assert.withAssertionFailure (2) *errbase.opaqueWrapper (3) *errutil.withPrefix (4) *barriers.barrierError +Error types: (1) *assert.withAssertionFailure (2) *errbase.opaqueWrapper (3) *errutil.withPrefix (4) *barriers.barrierErr == %#v via Formattable() = %#v, good == %v via Formattable() = Error(), good == %s via Formattable() = %v via Formattable(), good @@ -341,31 +378,65 @@ Wraps: (4) ‹innerone› | (1) ‹innerone›‹› | ‹ | innertwo› | Error types: (1) *errors.errorString -Error types: (1) *assert.withAssertionFailure (2) *errbase.opaqueWrapper (3) *errutil.withPrefix (4) *barriers.barrierError +Error types: (1) *assert.withAssertionFailure (2) *errbase.opaqueWrapper (3) *errutil.withPrefix (4) *barriers.barrierErr ===== ===== Sentry reporting ===== == Message payload -:: assertmsg: × -×: × -× --- -*barriers.barrierError -*errutil.withPrefix: assertmsg: × (1) +:: assertmsg: ×: × +(1) assertion failure +Wraps: (2) + | (opaque error wrapper) + | type name: github.com/cockroachdb/errors/withstack/*withstack.withStack + | reportable 0: + | + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (3) assertmsg: × + | × +Wraps: (4) × + | × + | -- cause hidden behind barrier + | × + | (1) ×× + | × + | Error types: (1) *errors.errorString +Error types: (1) *assert.withAssertionFailure (2) *errbase.opaqueWrapper (3) *errutil.withPrefix (4) *barriers.barrierErr +-- report composition: +*barriers.barrierErr: masked error: × +*errutil.withPrefix: assertmsg: × :: *withstack.withStack (top exception) *assert.withAssertionFailure -(check the extra data payloads) -== Extra "1: details" -assertmsg: × - × == Extra "error types" -github.com/cockroachdb/errors/barriers/*barriers.barrierError (*::) +github.com/cockroachdb/errors/barriers/*barriers.barrierErr (*::) github.com/cockroachdb/errors/errutil/*errutil.withPrefix (*::) github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) github.com/cockroachdb/errors/assert/*assert.withAssertionFailure (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*barriers.barrierError: assertmsg: ×\n×: ×\n×\nvia *withstack.withStack" +Title: "*barriers.barrierErr: assertmsg: ×: ×\nvia *withstack.withStack" :: (runtime) goexit() :: @@ -398,16 +469,16 @@ opaque require (?s)innerone.*innertwo ---- -&barriers.barrierError{ - msg: "innerone\ninnertwo", +&barriers.barrierErr{ + smsg: "‹innerone›\n‹innertwo›", maskedErr: &errors.errorString{s:"innerone\ninnertwo"}, } ===== ===== non-redactable formats ===== == %#v -&barriers.barrierError{ - msg: "innerone\ninnertwo", +&barriers.barrierErr{ + smsg: "‹innerone›\n‹innertwo›", maskedErr: &errors.errorString{s:"innerone\ninnertwo"}, } == Error() @@ -427,7 +498,7 @@ innerone | (1) innerone | | innertwo | Error types: (1) *errors.errorString -Error types: (1) *barriers.barrierError +Error types: (1) *barriers.barrierErr == %#v via Formattable() = %#v, good == %v via Formattable() = Error(), good == %s via Formattable() = %v via Formattable(), good @@ -453,20 +524,27 @@ Error types: (1) *barriers.barrierError | (1) ‹innerone›‹› | ‹ | innertwo› | Error types: (1) *errors.errorString -Error types: (1) *barriers.barrierError +Error types: (1) *barriers.barrierErr ===== ===== Sentry reporting ===== == Message payload × -× --- -*barriers.barrierError +(1) × + | × + | -- cause hidden behind barrier + | × + | (1) ×× + | × + | Error types: (1) *errors.errorString +Error types: (1) *barriers.barrierErr +-- report composition: +*barriers.barrierErr: masked error: × == Extra "error types" -github.com/cockroachdb/errors/barriers/*barriers.barrierError (*::) +github.com/cockroachdb/errors/barriers/*barriers.barrierErr (*::) == Exception 1 (Module: "error domain: ") -Type: "*barriers.barrierError" -Title: "×\n×" +Type: "*barriers.barrierErr" +Title: "×" (NO STACKTRACE) run @@ -550,10 +628,16 @@ Error types: (1) *errbase.opaqueWrapper (2) *errors.errorString ===== Sentry reporting ===== == Message payload -× ×: × +(1) × + | × + | + | (opaque error wrapper) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.werrDelegate +Wraps: (2) ×× × --- +Error types: (1) *errbase.opaqueWrapper (2) *errors.errorString +-- report composition: *errors.errorString *fmttests.werrDelegate == Extra "error types" @@ -561,7 +645,7 @@ errors/*errors.errorString (*::) github.com/cockroachdb/errors/fmttests/*fmttests.werrDelegate (*::) == Exception 1 (Module: "error domain: ") Type: "*errors.errorString" -Title: "×\n×: ×\n×" +Title: "×: ×" (NO STACKTRACE) run @@ -640,8 +724,13 @@ Error types: (1) *errbase.opaqueWrapper (2) *errors.errorString ===== == Message payload × +(1) + | (opaque error wrapper) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.werrDelegateEmpty +Wraps: (2) ×× × --- +Error types: (1) *errbase.opaqueWrapper (2) *errors.errorString +-- report composition: *errors.errorString *fmttests.werrDelegateEmpty == Extra "error types" @@ -649,7 +738,7 @@ errors/*errors.errorString (*::) github.com/cockroachdb/errors/fmttests/*fmttests.werrDelegateEmpty (*::) == Exception 1 (Module: "error domain: ") Type: "*errors.errorString" -Title: "×\n×" +Title: "×" (NO STACKTRACE) run @@ -728,8 +817,13 @@ Error types: (1) *errbase.opaqueWrapper (2) *errors.errorString ===== == Message payload × +(1) + | (opaque error wrapper) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.werrDelegateNoPrefix +Wraps: (2) ×× × --- +Error types: (1) *errbase.opaqueWrapper (2) *errors.errorString +-- report composition: *errors.errorString *fmttests.werrDelegateNoPrefix == Extra "error types" @@ -737,7 +831,7 @@ errors/*errors.errorString (*::) github.com/cockroachdb/errors/fmttests/*fmttests.werrDelegateNoPrefix (*::) == Exception 1 (Module: "error domain: ") Type: "*errors.errorString" -Title: "×\n×" +Title: "×" (NO STACKTRACE) run @@ -802,8 +896,12 @@ Error types: (1) *hintdetail.withDetail (2) *errors.errorString ===== == Message payload × +(1) × × --- +Wraps: (2) ×× +× +Error types: (1) *hintdetail.withDetail (2) *errors.errorString +-- report composition: *errors.errorString *hintdetail.withDetail == Extra "error types" @@ -811,7 +909,7 @@ errors/*errors.errorString (*::) github.com/cockroachdb/errors/hintdetail/*hintdetail.withDetail (*::) == Exception 1 (Module: "error domain: ") Type: "*errors.errorString" -Title: "×\n×" +Title: "×" (NO STACKTRACE) run @@ -874,19 +972,19 @@ Error types: (1) *domains.withDomain (2) *errors.errorString ===== == Message payload × +(1) mydomain +Wraps: (2) ×× × --- +Error types: (1) *domains.withDomain (2) *errors.errorString +-- report composition: *errors.errorString -*domains.withDomain: mydomain (1) -(check the extra data payloads) -== Extra "1: details" -mydomain +*domains.withDomain: mydomain == Extra "error types" errors/*errors.errorString (*::) github.com/cockroachdb/errors/domains/*domains.withDomain (*::mydomain) == Exception 1 (Module: "mydomain") Type: "*errors.errorString" -Title: "×\n×" +Title: "×" (NO STACKTRACE) run @@ -951,8 +1049,12 @@ Error types: (1) *fmttests.werrWithElidedCause (2) *errors.errorString ===== == Message payload × +(1) ×× +× +Wraps: (2) ×× × --- +Error types: (1) *fmttests.werrWithElidedCause (2) *errors.errorString +-- report composition: *errors.errorString *fmttests.werrWithElidedCause == Extra "error types" @@ -960,7 +1062,7 @@ errors/*errors.errorString (*::) github.com/cockroachdb/errors/fmttests/*fmttests.werrWithElidedCause (*::) == Exception 1 (Module: "error domain: ") Type: "*errors.errorString" -Title: "×\n×" +Title: "×" (NO STACKTRACE) run @@ -1039,8 +1141,13 @@ Error types: (1) *errbase.opaqueWrapper (2) *errors.errorString ===== == Message payload × +(1) + | (opaque error wrapper) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.werrEmpty +Wraps: (2) ×× × --- +Error types: (1) *errbase.opaqueWrapper (2) *errors.errorString +-- report composition: *errors.errorString *fmttests.werrEmpty == Extra "error types" @@ -1048,7 +1155,7 @@ errors/*errors.errorString (*::) github.com/cockroachdb/errors/fmttests/*fmttests.werrEmpty (*::) == Exception 1 (Module: "error domain: ") Type: "*errors.errorString" -Title: "×\n×" +Title: "×" (NO STACKTRACE) run @@ -1132,10 +1239,16 @@ Error types: (1) *errbase.opaqueWrapper (2) *errors.errorString ===== Sentry reporting ===== == Message payload -× ×: × +(1) × + | × + | + | (opaque error wrapper) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.werrFmt +Wraps: (2) ×× × --- +Error types: (1) *errbase.opaqueWrapper (2) *errors.errorString +-- report composition: *errors.errorString *fmttests.werrFmt == Extra "error types" @@ -1143,7 +1256,7 @@ errors/*errors.errorString (*::) github.com/cockroachdb/errors/fmttests/*fmttests.werrFmt (*::) == Exception 1 (Module: "error domain: ") Type: "*errors.errorString" -Title: "×\n×: ×\n×" +Title: "×: ×" (NO STACKTRACE) run @@ -1230,10 +1343,16 @@ Error types: (1) *errbase.opaqueWrapper (2) *errors.errorString ===== Sentry reporting ===== == Message payload -× ×: × +(1) × + | × + | + | (opaque error wrapper) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.werrFmto +Wraps: (2) ×× × --- +Error types: (1) *errbase.opaqueWrapper (2) *errors.errorString +-- report composition: *errors.errorString *fmttests.werrFmto == Extra "error types" @@ -1241,7 +1360,7 @@ errors/*errors.errorString (*::) github.com/cockroachdb/errors/fmttests/*fmttests.werrFmto (*::) == Exception 1 (Module: "error domain: ") Type: "*errors.errorString" -Title: "×\n×: ×\n×" +Title: "×: ×" (NO STACKTRACE) run @@ -1328,10 +1447,16 @@ Error types: (1) *errbase.opaqueWrapper (2) *errors.errorString ===== Sentry reporting ===== == Message payload -× ×: × +(1) × + | × + | + | (opaque error wrapper) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.werrFmtoDelegate +Wraps: (2) ×× × --- +Error types: (1) *errbase.opaqueWrapper (2) *errors.errorString +-- report composition: *errors.errorString *fmttests.werrFmtoDelegate == Extra "error types" @@ -1339,7 +1464,7 @@ errors/*errors.errorString (*::) github.com/cockroachdb/errors/fmttests/*fmttests.werrFmtoDelegate (*::) == Exception 1 (Module: "error domain: ") Type: "*errors.errorString" -Title: "×\n×: ×\n×" +Title: "×: ×" (NO STACKTRACE) run @@ -1423,10 +1548,16 @@ Error types: (1) *errbase.opaqueWrapper (2) *errors.errorString ===== Sentry reporting ===== == Message payload -× ×: × +(1) × + | × + | + | (opaque error wrapper) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.werrFmtp +Wraps: (2) ×× × --- +Error types: (1) *errbase.opaqueWrapper (2) *errors.errorString +-- report composition: *errors.errorString *fmttests.werrFmtp == Extra "error types" @@ -1434,7 +1565,7 @@ errors/*errors.errorString (*::) github.com/cockroachdb/errors/fmttests/*fmttests.werrFmtp (*::) == Exception 1 (Module: "error domain: ") Type: "*errors.errorString" -Title: "×\n×: ×\n×" +Title: "×: ×" (NO STACKTRACE) run @@ -1521,10 +1652,16 @@ Error types: (1) *errbase.opaqueWrapper (2) *errors.errorString ===== Sentry reporting ===== == Message payload -× ×: × +(1) × + | × + | + | (opaque error wrapper) + | type name: fmt/*fmt.wrapError +Wraps: (2) ×× × --- +Error types: (1) *errbase.opaqueWrapper (2) *errors.errorString +-- report composition: *errors.errorString *fmt.wrapError == Extra "error types" @@ -1532,7 +1669,7 @@ errors/*errors.errorString (*::) fmt/*fmt.wrapError (*::) == Exception 1 (Module: "error domain: ") Type: "*errors.errorString" -Title: "×\n×: ×\n×" +Title: "×: ×" (NO STACKTRACE) run @@ -1543,8 +1680,8 @@ opaque require (?s)innerone.*innertwo ---- &domains.withDomain{ - cause: &barriers.barrierError{ - msg: "innerone\ninnertwo", + cause: &barriers.barrierErr{ + smsg: "‹innerone›\n‹innertwo›", maskedErr: &errors.errorString{s:"innerone\ninnertwo"}, }, domain: "error domain: pkg ", @@ -1554,8 +1691,8 @@ require (?s)innerone.*innertwo ===== == %#v &domains.withDomain{ - cause: &barriers.barrierError{ - msg: "innerone\ninnertwo", + cause: &barriers.barrierErr{ + smsg: "‹innerone›\n‹innertwo›", maskedErr: &errors.errorString{s:"innerone\ninnertwo"}, }, domain: "error domain: pkg ", @@ -1578,7 +1715,7 @@ Wraps: (2) innerone | (1) innerone | | innertwo | Error types: (1) *errors.errorString -Error types: (1) *domains.withDomain (2) *barriers.barrierError +Error types: (1) *domains.withDomain (2) *barriers.barrierErr == %#v via Formattable() = %#v, good == %v via Formattable() = Error(), good == %s via Formattable() = %v via Formattable(), good @@ -1605,25 +1742,30 @@ Wraps: (2) ‹innerone› | (1) ‹innerone›‹› | ‹ | innertwo› | Error types: (1) *errors.errorString -Error types: (1) *domains.withDomain (2) *barriers.barrierError +Error types: (1) *domains.withDomain (2) *barriers.barrierErr ===== ===== Sentry reporting ===== == Message payload × -× --- -*barriers.barrierError -*domains.withDomain: error domain: pkg (1) -(check the extra data payloads) -== Extra "1: details" -error domain: pkg +(1) error domain: pkg +Wraps: (2) × + | × + | -- cause hidden behind barrier + | × + | (1) ×× + | × + | Error types: (1) *errors.errorString +Error types: (1) *domains.withDomain (2) *barriers.barrierErr +-- report composition: +*barriers.barrierErr: masked error: × +*domains.withDomain: error domain: pkg == Extra "error types" -github.com/cockroachdb/errors/barriers/*barriers.barrierError (*::) +github.com/cockroachdb/errors/barriers/*barriers.barrierErr (*::) github.com/cockroachdb/errors/domains/*domains.withDomain (*::error domain: pkg ) == Exception 1 (Module: "error domain: pkg ") -Type: "*barriers.barrierError" -Title: "×\n×" +Type: "*barriers.barrierErr" +Title: "×" (NO STACKTRACE) run @@ -1688,8 +1830,12 @@ Error types: (1) *hintdetail.withHint (2) *errors.errorString ===== == Message payload × +(1) × +× +Wraps: (2) ×× × --- +Error types: (1) *hintdetail.withHint (2) *errors.errorString +-- report composition: *errors.errorString *hintdetail.withHint == Extra "error types" @@ -1697,7 +1843,7 @@ errors/*errors.errorString (*::) github.com/cockroachdb/errors/hintdetail/*hintdetail.withHint (*::) == Exception 1 (Module: "error domain: ") Type: "*errors.errorString" -Title: "×\n×" +Title: "×" (NO STACKTRACE) run @@ -1764,21 +1910,21 @@ Error types: (1) *issuelink.withIssueLink (2) *errors.errorString ===== == Message payload × +(1) issue: https://mysite + | detail: outerthree + | outerfour +Wraps: (2) ×× × --- +Error types: (1) *issuelink.withIssueLink (2) *errors.errorString +-- report composition: *errors.errorString -*issuelink.withIssueLink: https://mysite (1) -(check the extra data payloads) -== Extra "1: details" -https://mysite -outerthree - outerfour +*issuelink.withIssueLink: https://mysite == Extra "error types" errors/*errors.errorString (*::) github.com/cockroachdb/errors/issuelink/*issuelink.withIssueLink (*::) == Exception 1 (Module: "error domain: ") Type: "*errors.errorString" -Title: "×\n×" +Title: "×" (NO STACKTRACE) run @@ -1857,8 +2003,13 @@ Error types: (1) *errbase.opaqueWrapper (2) *errors.errorString ===== == Message payload × +(1) + | (opaque error wrapper) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.werrMigrated +Wraps: (2) ×× × --- +Error types: (1) *errbase.opaqueWrapper (2) *errors.errorString +-- report composition: *errors.errorString *fmttests.werrMigrated == Extra "error types" @@ -1866,7 +2017,7 @@ errors/*errors.errorString (*::) github.com/cockroachdb/errors/fmttests/*fmttests.werrMigrated (some/previous/path/prevpkg.prevType::) == Exception 1 (Module: "error domain: ") Type: "*errors.errorString" -Title: "×\n×" +Title: "×" (NO STACKTRACE) run @@ -1932,22 +2083,21 @@ Error types: (1) *errutil.withPrefix (2) *errors.errorString ===== Sentry reporting ===== == Message payload -outerthree -outerfour: × +outerthree: × +(1) outerthree + | outerfour +Wraps: (2) ×× × --- +Error types: (1) *errutil.withPrefix (2) *errors.errorString +-- report composition: *errors.errorString -*errutil.withPrefix: outerthree (1) -(check the extra data payloads) -== Extra "1: details" -outerthree - outerfour +*errutil.withPrefix: outerthree == Extra "error types" errors/*errors.errorString (*::) github.com/cockroachdb/errors/errutil/*errutil.withPrefix (*::) == Exception 1 (Module: "error domain: ") Type: "*errors.errorString" -Title: "outerthree\nouterfour: ×\n×" +Title: "outerthree: ×" (NO STACKTRACE) run @@ -2108,18 +2258,51 @@ Error types: (1) *errbase.opaqueWrapper (2) *secondary.withSecondaryError (3) *e ===== == Message payload :: new-style (× -×) :: × -× :: --- +(1) + | (opaque error wrapper) + | type name: github.com/cockroachdb/errors/withstack/*withstack.withStack + | reportable 0: + | + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (2) secondary error attachment + | × + | (1) ×× + | × + | Error types: (1) *errors.errorString +Wraps: (3) new-style (× + | ×) :: × + | × :: +Wraps: (4) ×× +× +Error types: (1) *errbase.opaqueWrapper (2) *secondary.withSecondaryError (3) *errutil.withNewMessage (4) *errors.errorString +-- report composition: *errors.errorString -*errutil.withNewMessage: new-style (× (1) +*errutil.withNewMessage: new-style (× *secondary.withSecondaryError :: *withstack.withStack (top exception) -(check the extra data payloads) -== Extra "1: details" -new-style (× - ×) :: × - × :: == Extra "error types" errors/*errors.errorString (*::) github.com/cockroachdb/errors/errutil/*errutil.withNewMessage (*::) @@ -2127,7 +2310,7 @@ github.com/cockroachdb/errors/secondary/*secondary.withSecondaryError (*::) github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errors.errorString: new-style (×\n×) :: ×\n× ::\nvia *withstack.withStack" +Title: "*errors.errorString: new-style (×\nvia *withstack.withStack" :: (runtime) goexit() :: @@ -2237,10 +2420,16 @@ Error types: (1) *errbase.opaqueWrapper (2) *errors.errorString ===== Sentry reporting ===== == Message payload -× ×: × +(1) × + | × + | + | (opaque error wrapper) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.werrNoFmt +Wraps: (2) ×× × --- +Error types: (1) *errbase.opaqueWrapper (2) *errors.errorString +-- report composition: *errors.errorString *fmttests.werrNoFmt == Extra "error types" @@ -2248,7 +2437,7 @@ errors/*errors.errorString (*::) github.com/cockroachdb/errors/fmttests/*fmttests.werrNoFmt (*::) == Exception 1 (Module: "error domain: ") Type: "*errors.errorString" -Title: "×\n×: ×\n×" +Title: "×: ×" (NO STACKTRACE) run @@ -2319,8 +2508,11 @@ Error types: (1) *os.LinkError (2) *errors.errorString ===== == Message payload link × ×: × +(1) link × × +Wraps: (2) ×× × --- +Error types: (1) *os.LinkError (2) *errors.errorString +-- report composition: *errors.errorString *os.LinkError == Extra "error types" @@ -2328,7 +2520,7 @@ errors/*errors.errorString (*::) os/*os.LinkError (*::) == Exception 1 (Module: "error domain: ") Type: "*errors.errorString" -Title: "link × ×: ×\n×" +Title: "link × ×: ×" (NO STACKTRACE) run @@ -2412,8 +2604,14 @@ Error types: (1) *errbase.opaqueWrapper (2) *errors.errorString ===== == Message payload ×: × +(1) × + | + | (opaque error wrapper) + | type name: net/*net.OpError +Wraps: (2) ×× × --- +Error types: (1) *errbase.opaqueWrapper (2) *errors.errorString +-- report composition: *errors.errorString *net.OpError == Extra "error types" @@ -2421,7 +2619,7 @@ errors/*errors.errorString (*::) net/*net.OpError (*::) == Exception 1 (Module: "error domain: ") Type: "*errors.errorString" -Title: "×: ×\n×" +Title: "×: ×" (NO STACKTRACE) run @@ -2490,8 +2688,11 @@ Error types: (1) *fs.PathError (2) *errors.errorString ===== == Message payload link ×: × +(1) link × +Wraps: (2) ×× × --- +Error types: (1) *fs.PathError (2) *errors.errorString +-- report composition: *errors.errorString *fs.PathError == Extra "error types" @@ -2499,7 +2700,7 @@ errors/*errors.errorString (*::) io/fs/*fs.PathError (os/*os.PathError::) == Exception 1 (Module: "error domain: ") Type: "*errors.errorString" -Title: "link ×: ×\n×" +Title: "link ×: ×" (NO STACKTRACE) run @@ -2566,8 +2767,11 @@ Error types: (1) *os.SyscallError (2) *errors.errorString ===== == Message payload open: × +(1) open +Wraps: (2) ×× × --- +Error types: (1) *os.SyscallError (2) *errors.errorString +-- report composition: *errors.errorString *os.SyscallError == Extra "error types" @@ -2575,7 +2779,7 @@ errors/*errors.errorString (*::) os/*os.SyscallError (*::) == Exception 1 (Module: "error domain: ") Type: "*errors.errorString" -Title: "open: ×\n×" +Title: "open: ×" (NO STACKTRACE) run @@ -2658,10 +2862,13 @@ Error types: (1) *errors.withMessage (2) *errors.errorString ===== Sentry reporting ===== == Message payload -× ×: × +(1) ×× × --- +Wraps: (2) ×× +× +Error types: (1) *errors.withMessage (2) *errors.errorString +-- report composition: *errors.errorString *errors.withMessage == Extra "error types" @@ -2669,7 +2876,7 @@ errors/*errors.errorString (*::) github.com/pkg/errors/*errors.withMessage (*::) == Exception 1 (Module: "error domain: ") Type: "*errors.errorString" -Title: "×\n×: ×\n×" +Title: "×: ×" (NO STACKTRACE) run @@ -2805,8 +3012,39 @@ Error types: (1) *errbase.opaqueWrapper (2) *errors.errorString ===== == Message payload :: × +(1) + | (opaque error wrapper) + | type name: github.com/pkg/errors/*errors.withStack + | reportable 0: + | + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (2) ×× × --- +Error types: (1) *errbase.opaqueWrapper (2) *errors.errorString +-- report composition: *errors.errorString :: *errors.withStack (top exception) == Extra "error types" @@ -2814,7 +3052,7 @@ errors/*errors.errorString (*::) github.com/pkg/errors/*errors.withStack (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errors.errorString: ×\n×\nvia *errors.withStack" +Title: "*errors.errorString: ×\nvia *errors.withStack" :: (runtime) goexit() :: @@ -2902,20 +3140,20 @@ Error types: (1) *safedetails.withSafeDetails (2) *errors.errorString ===== == Message payload × +(1) safe × + | × +Wraps: (2) ×× × --- +Error types: (1) *safedetails.withSafeDetails (2) *errors.errorString +-- report composition: *errors.errorString -*safedetails.withSafeDetails: safe × (1) -(check the extra data payloads) -== Extra "1: details" -safe × - × +*safedetails.withSafeDetails: safe × == Extra "error types" errors/*errors.errorString (*::) github.com/cockroachdb/errors/safedetails/*safedetails.withSafeDetails (*::) == Exception 1 (Module: "error domain: ") Type: "*errors.errorString" -Title: "×\n×" +Title: "×" (NO STACKTRACE) run @@ -2999,10 +3237,16 @@ Error types: (1) *errbase.opaqueWrapper (2) *errors.errorString ===== Sentry reporting ===== == Message payload -× ×: × +(1) × + | × + | + | (opaque error wrapper) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.werrSafeFormat +Wraps: (2) ×× × --- +Error types: (1) *errbase.opaqueWrapper (2) *errors.errorString +-- report composition: *errors.errorString *fmttests.werrSafeFormat == Extra "error types" @@ -3010,7 +3254,7 @@ errors/*errors.errorString (*::) github.com/cockroachdb/errors/fmttests/*fmttests.werrSafeFormat (*::) == Exception 1 (Module: "error domain: ") Type: "*errors.errorString" -Title: "×\n×: ×\n×" +Title: "×: ×" (NO STACKTRACE) run @@ -3020,7 +3264,6 @@ opaque require (?s)innerone.*innertwo ---- ----- &secondary.withSecondaryError{ cause: &errors.errorString{s:"innerone\ninnertwo"}, secondaryError: &errbase.opaqueWrapper{ @@ -3158,50 +3401,53 @@ Error types: (1) *secondary.withSecondaryError (2) *errors.errorString ===== == Message payload × +(1) secondary error attachment + | outerthree + | (1) + | | (opaque error wrapper) + | | type name: github.com/cockroachdb/errors/withstack/*withstack.withStack + | | reportable 0: + | | + | | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | | : + | | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | | : + | | github.com/cockroachdb/datadriven.runDirective.func1 + | | : + | | github.com/cockroachdb/datadriven.runDirective + | | : + | | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | | : + | | github.com/cockroachdb/datadriven.runTestInternal + | | : + | | github.com/cockroachdb/datadriven.RunTest + | | : + | | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | | : + | | github.com/cockroachdb/datadriven.Walk + | | : + | | github.com/cockroachdb/datadriven.Walk.func1 + | | : + | | testing.tRunner + | | : + | | runtime.goexit + | | : + | Wraps: (2) outerthree + | | outerfour + | Error types: (1) *errbase.opaqueWrapper (2) *errutil.leafError +Wraps: (2) ×× × --- +Error types: (1) *secondary.withSecondaryError (2) *errors.errorString +-- report composition: *errors.errorString -*secondary.withSecondaryError: details for github.com/cockroachdb/errors/withstack/*withstack.withStack::: (1) -(check the extra data payloads) -== Extra "1: details" -details for github.com/cockroachdb/errors/withstack/*withstack.withStack::: - - github.com/cockroachdb/errors/fmttests.glob...funcNN... - : - github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 - : - github.com/cockroachdb/datadriven.runDirective.func1 - : - github.com/cockroachdb/datadriven.runDirective - : - github.com/cockroachdb/datadriven.runDirectiveOrSubTest - : - github.com/cockroachdb/datadriven.runTestInternal - : - github.com/cockroachdb/datadriven.RunTest - : - github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 - : - github.com/cockroachdb/datadriven.Walk - : - github.com/cockroachdb/datadriven.Walk.func1 - : - testing.tRunner - : - runtime.goexit - : -details for github.com/cockroachdb/errors/errutil/*errutil.leafError::: - outerthree - outerfour +*secondary.withSecondaryError: details for github.com/cockroachdb/errors/withstack/*withstack.withStack::: == Extra "error types" errors/*errors.errorString (*::) github.com/cockroachdb/errors/secondary/*secondary.withSecondaryError (*::) == Exception 1 (Module: "error domain: ") Type: "*errors.errorString" -Title: "×\n×" +Title: "×" (NO STACKTRACE) ----- ----- run goerr innerone innertwo @@ -3331,8 +3577,39 @@ Error types: (1) *errbase.opaqueWrapper (2) *errors.errorString ===== == Message payload :: × +(1) + | (opaque error wrapper) + | type name: github.com/cockroachdb/errors/withstack/*withstack.withStack + | reportable 0: + | + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (2) ×× × --- +Error types: (1) *errbase.opaqueWrapper (2) *errors.errorString +-- report composition: *errors.errorString :: *withstack.withStack (top exception) == Extra "error types" @@ -3340,7 +3617,7 @@ errors/*errors.errorString (*::) github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errors.errorString: ×\n×\nvia *withstack.withStack" +Title: "*errors.errorString: ×\nvia *withstack.withStack" :: (runtime) goexit() :: @@ -3474,20 +3751,19 @@ Error types: (1) *contexttags.withContext (2) *errors.errorString ===== == Message payload × +(1) tags: [k×,safe=×] +Wraps: (2) ×× × --- +Error types: (1) *contexttags.withContext (2) *errors.errorString +-- report composition: *errors.errorString -*contexttags.withContext: k× (1) -(check the extra data payloads) -== Extra "1: details" -k× -safe=456 +*contexttags.withContext: k× == Extra "error types" errors/*errors.errorString (*::) github.com/cockroachdb/errors/contexttags/*contexttags.withContext (*::) == Exception 1 (Module: "error domain: ") Type: "*errors.errorString" -Title: "×\n×" +Title: "×" (NO STACKTRACE) run @@ -3552,21 +3828,20 @@ Error types: (1) *telemetrykeys.withTelemetry (2) *errors.errorString ===== == Message payload × +(1) keys: [somekey outerthree + | outerfour] +Wraps: (2) ×× × --- +Error types: (1) *telemetrykeys.withTelemetry (2) *errors.errorString +-- report composition: *errors.errorString -*telemetrykeys.withTelemetry: somekey (1) -(check the extra data payloads) -== Extra "1: details" -somekey -outerthree - outerfour +*telemetrykeys.withTelemetry: somekey == Extra "error types" errors/*errors.errorString (*::) github.com/cockroachdb/errors/telemetrykeys/*telemetrykeys.withTelemetry (*::) == Exception 1 (Module: "error domain: ") Type: "*errors.errorString" -Title: "×\n×" +Title: "×" (NO STACKTRACE) run @@ -3708,24 +3983,52 @@ Error types: (1) *errbase.opaqueWrapper (2) *errutil.withPrefix (3) *errors.erro ===== Sentry reporting ===== == Message payload -:: new-stylew × -×: × +:: new-stylew ×: × +(1) + | (opaque error wrapper) + | type name: github.com/cockroachdb/errors/withstack/*withstack.withStack + | reportable 0: + | + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (2) new-stylew × + | × +Wraps: (3) ×× × --- +Error types: (1) *errbase.opaqueWrapper (2) *errutil.withPrefix (3) *errors.errorString +-- report composition: *errors.errorString -*errutil.withPrefix: new-stylew × (1) +*errutil.withPrefix: new-stylew × :: *withstack.withStack (top exception) -(check the extra data payloads) -== Extra "1: details" -new-stylew × - × == Extra "error types" errors/*errors.errorString (*::) github.com/cockroachdb/errors/errutil/*errutil.withPrefix (*::) github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errors.errorString: new-stylew ×\n×: ×\n×\nvia *withstack.withStack" +Title: "*errors.errorString: new-stylew ×: ×\nvia *withstack.withStack" :: (runtime) goexit() :: @@ -3758,7 +4061,6 @@ opaque require (?s)outerthree.*outerfour.*innerone.*innertwo ---- ----- &errbase.opaqueWrapper{ cause: &secondary.withSecondaryError{ cause: &errutil.withPrefix{ @@ -3981,47 +4283,79 @@ Error types: (1) *errbase.opaqueWrapper (2) *secondary.withSecondaryError (3) *e ===== Sentry reporting ===== == Message payload -:: new-style × -× (payload): × +:: new-style ×: × +(1) + | (opaque error wrapper) + | type name: github.com/cockroachdb/errors/withstack/*withstack.withStack + | reportable 0: + | + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (2) secondary error attachment + | payload + | (1) + | | (opaque error wrapper) + | | type name: github.com/cockroachdb/errors/withstack/*withstack.withStack + | | reportable 0: + | | + | | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | | : + | | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | | : + | | github.com/cockroachdb/datadriven.runDirective.func1 + | | : + | | github.com/cockroachdb/datadriven.runDirective + | | : + | | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | | : + | | github.com/cockroachdb/datadriven.runTestInternal + | | : + | | github.com/cockroachdb/datadriven.RunTest + | | : + | | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | | : + | | github.com/cockroachdb/datadriven.Walk + | | : + | | github.com/cockroachdb/datadriven.Walk.func1 + | | : + | | testing.tRunner + | | : + | | runtime.goexit + | | : + | Wraps: (2) payload + | Error types: (1) *errbase.opaqueWrapper (2) *errutil.leafError +Wraps: (3) new-style × + | × (payload) +Wraps: (4) ×× × --- +Error types: (1) *errbase.opaqueWrapper (2) *secondary.withSecondaryError (3) *errutil.withPrefix (4) *errors.errorString +-- report composition: *errors.errorString -*errutil.withPrefix: new-style × (1) -*secondary.withSecondaryError: details for github.com/cockroachdb/errors/withstack/*withstack.withStack::: (2) +*errutil.withPrefix: new-style × +*secondary.withSecondaryError: details for github.com/cockroachdb/errors/withstack/*withstack.withStack::: :: *withstack.withStack (top exception) -(check the extra data payloads) -== Extra "1: details" -new-style × - × (payload) -== Extra "2: details" -details for github.com/cockroachdb/errors/withstack/*withstack.withStack::: - - github.com/cockroachdb/errors/fmttests.glob...funcNN... - : - github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 - : - github.com/cockroachdb/datadriven.runDirective.func1 - : - github.com/cockroachdb/datadriven.runDirective - : - github.com/cockroachdb/datadriven.runDirectiveOrSubTest - : - github.com/cockroachdb/datadriven.runTestInternal - : - github.com/cockroachdb/datadriven.RunTest - : - github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 - : - github.com/cockroachdb/datadriven.Walk - : - github.com/cockroachdb/datadriven.Walk.func1 - : - testing.tRunner - : - runtime.goexit - : -details for github.com/cockroachdb/errors/errutil/*errutil.leafError::: - payload == Extra "error types" errors/*errors.errorString (*::) github.com/cockroachdb/errors/errutil/*errutil.withPrefix (*::) @@ -4029,7 +4363,7 @@ github.com/cockroachdb/errors/secondary/*secondary.withSecondaryError (*::) github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errors.errorString: new-style ×\n× (payload): ×\n×\nvia *withstack.withStack" +Title: "*errors.errorString: new-style ×: ×\nvia *withstack.withStack" :: (runtime) goexit() :: @@ -4054,5 +4388,3 @@ Title: "*errors.errorString: new-style ×\n× (payload): ×\n×\nvia *withstack. (github.com/cockroachdb/errors/fmttests.TestDatadriven.func2) 1() :: (github.com/cockroachdb/errors/fmttests.glob.)...funcNN... ----- ----- diff --git a/fmttests/testdata/format/wrap-newf b/fmttests/testdata/format/wrap-newf index 05a86b2..560f995 100644 --- a/fmttests/testdata/format/wrap-newf +++ b/fmttests/testdata/format/wrap-newf @@ -4,11 +4,10 @@ assertion outerthree outerfour require (?s) ---- ----- &assert.withAssertionFailure{ cause: &withstack.withStack{ - cause: &barriers.barrierError{ - msg: "new-style innerone\ninnertwo", + cause: &barriers.barrierErr{ + smsg: "new-style ‹innerone›\n‹innertwo›", maskedErr: &withstack.withStack{ cause: &errutil.leafError{msg:"new-style ‹innerone›\n‹innertwo›"}, stack: &stack{...}, @@ -23,8 +22,8 @@ require (?s) == %#v &assert.withAssertionFailure{ cause: &withstack.withStack{ - cause: &barriers.barrierError{ - msg: "new-style innerone\ninnertwo", + cause: &barriers.barrierErr{ + smsg: "new-style ‹innerone›\n‹innertwo›", maskedErr: &withstack.withStack{ cause: &errutil.leafError{msg:"new-style ‹innerone›\n‹innertwo›"}, stack: &stack{...}, @@ -103,7 +102,7 @@ Wraps: (3) new-style innerone | Wraps: (2) new-style innerone | | innertwo | Error types: (1) *withstack.withStack (2) *errutil.leafError -Error types: (1) *assert.withAssertionFailure (2) *withstack.withStack (3) *barriers.barrierError +Error types: (1) *assert.withAssertionFailure (2) *withstack.withStack (3) *barriers.barrierErr == %#v via Formattable() = %#v, good == %v via Formattable() = Error(), good == %s via Formattable() = %v via Formattable(), good @@ -113,7 +112,7 @@ Error types: (1) *assert.withAssertionFailure (2) *withstack.withStack (3) *barr ===== redactable formats ===== == printed via redact Print(), ok - congruent with %v -‹new-style innerone› +new-style ‹innerone› ‹innertwo› == printed via redact Printf() %v = Print(), good == printed via redact Printf() %s = Print(), good @@ -121,7 +120,7 @@ Error types: (1) *assert.withAssertionFailure (2) *withstack.withStack (3) *barr == printed via redact Printf() %x, refused - good == printed via redact Printf() %X, refused - good == printed via redact Printf() %+v, ok - congruent with %+v -‹new-style innerone› +new-style ‹innerone› (1) assertion failure Wraps: (2) attached stack trace -- stack trace: @@ -149,7 +148,7 @@ Wraps: (2) attached stack trace | : | runtime.goexit | : -Wraps: (3) ‹new-style innerone› +Wraps: (3) new-style ‹innerone› | ‹innertwo› | -- cause hidden behind barrier | new-style ‹innerone› @@ -182,55 +181,84 @@ Wraps: (3) ‹new-style innerone› | Wraps: (2) new-style ‹innerone› | | ‹innertwo› | Error types: (1) *withstack.withStack (2) *errutil.leafError -Error types: (1) *assert.withAssertionFailure (2) *withstack.withStack (3) *barriers.barrierError +Error types: (1) *assert.withAssertionFailure (2) *withstack.withStack (3) *barriers.barrierErr ===== ===== Sentry reporting ===== == Message payload -:: × -× --- -*barriers.barrierError: details for github.com/cockroachdb/errors/withstack/*withstack.withStack::: (1) +:: new-style × +(1) assertion failure +Wraps: (2) attached stack trace + -- stack trace: + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (3) new-style × + | × + | -- cause hidden behind barrier + | new-style × + | (1) attached stack trace + | -- stack trace: + | | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | | : + | | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | | : + | | github.com/cockroachdb/datadriven.runDirective.func1 + | | : + | | github.com/cockroachdb/datadriven.runDirective + | | : + | | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | | : + | | github.com/cockroachdb/datadriven.runTestInternal + | | : + | | github.com/cockroachdb/datadriven.RunTest + | | : + | | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | | : + | | github.com/cockroachdb/datadriven.Walk + | | : + | | github.com/cockroachdb/datadriven.Walk.func1 + | | : + | | testing.tRunner + | | : + | | runtime.goexit + | | : + | Wraps: (2) new-style × + | | × + | Error types: (1) *withstack.withStack (2) *errutil.leafError +Error types: (1) *assert.withAssertionFailure (2) *withstack.withStack (3) *barriers.barrierErr +-- report composition: +*barriers.barrierErr: details for github.com/cockroachdb/errors/withstack/*withstack.withStack::: :: *withstack.withStack (top exception) *assert.withAssertionFailure -(check the extra data payloads) -== Extra "1: details" -details for github.com/cockroachdb/errors/withstack/*withstack.withStack::: - - github.com/cockroachdb/errors/fmttests.glob...funcNN... - : - github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 - : - github.com/cockroachdb/datadriven.runDirective.func1 - : - github.com/cockroachdb/datadriven.runDirective - : - github.com/cockroachdb/datadriven.runDirectiveOrSubTest - : - github.com/cockroachdb/datadriven.runTestInternal - : - github.com/cockroachdb/datadriven.RunTest - : - github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 - : - github.com/cockroachdb/datadriven.Walk - : - github.com/cockroachdb/datadriven.Walk.func1 - : - testing.tRunner - : - runtime.goexit - : -details for github.com/cockroachdb/errors/errutil/*errutil.leafError::: - new-style × - × == Extra "error types" -github.com/cockroachdb/errors/barriers/*barriers.barrierError (*::) +github.com/cockroachdb/errors/barriers/*barriers.barrierErr (*::) github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) github.com/cockroachdb/errors/assert/*assert.withAssertionFailure (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*barriers.barrierError: ×\n×\nvia *withstack.withStack" +Title: "*barriers.barrierErr: new-style ×\nvia *withstack.withStack" :: (runtime) goexit() :: @@ -255,8 +283,6 @@ Title: "*barriers.barrierError: ×\n×\nvia *withstack.withStack" (github.com/cockroachdb/errors/fmttests.TestDatadriven.func2) 1() :: (github.com/cockroachdb/errors/fmttests.glob.)...funcNN... ----- ----- run newf innerone innertwo @@ -264,12 +290,11 @@ assertwrap outerthree outerfour require (?s)outerthree.*outerfour.* ---- ----- &assert.withAssertionFailure{ cause: &withstack.withStack{ cause: &errutil.withPrefix{ - cause: &barriers.barrierError{ - msg: "new-style innerone\ninnertwo", + cause: &barriers.barrierErr{ + smsg: "new-style ‹innerone›\n‹innertwo›", maskedErr: &withstack.withStack{ cause: &errutil.leafError{msg:"new-style ‹innerone›\n‹innertwo›"}, stack: &stack{...}, @@ -287,8 +312,8 @@ require (?s)outerthree.*outerfour.* &assert.withAssertionFailure{ cause: &withstack.withStack{ cause: &errutil.withPrefix{ - cause: &barriers.barrierError{ - msg: "new-style innerone\ninnertwo", + cause: &barriers.barrierErr{ + smsg: "new-style ‹innerone›\n‹innertwo›", maskedErr: &withstack.withStack{ cause: &errutil.leafError{msg:"new-style ‹innerone›\n‹innertwo›"}, stack: &stack{...}, @@ -372,7 +397,7 @@ Wraps: (4) new-style innerone | Wraps: (2) new-style innerone | | innertwo | Error types: (1) *withstack.withStack (2) *errutil.leafError -Error types: (1) *assert.withAssertionFailure (2) *withstack.withStack (3) *errutil.withPrefix (4) *barriers.barrierError +Error types: (1) *assert.withAssertionFailure (2) *withstack.withStack (3) *errutil.withPrefix (4) *barriers.barrierErr == %#v via Formattable() = %#v, good == %v via Formattable() = Error(), good == %s via Formattable() = %v via Formattable(), good @@ -383,7 +408,7 @@ Error types: (1) *assert.withAssertionFailure (2) *withstack.withStack (3) *erru ===== == printed via redact Print(), ok - congruent with %v assertmsg: ‹outerthree› -‹outerfour›: ‹new-style innerone› +‹outerfour›: new-style ‹innerone› ‹innertwo› == printed via redact Printf() %v = Print(), good == printed via redact Printf() %s = Print(), good @@ -391,7 +416,7 @@ assertmsg: ‹outerthree› == printed via redact Printf() %x, refused - good == printed via redact Printf() %X, refused - good == printed via redact Printf() %+v, ok - congruent with %+v -assertmsg: ‹outerthree›: ‹new-style innerone› +assertmsg: ‹outerthree›: new-style ‹innerone› (1) assertion failure Wraps: (2) attached stack trace -- stack trace: @@ -421,7 +446,7 @@ Wraps: (2) attached stack trace | : Wraps: (3) assertmsg: ‹outerthree› | ‹outerfour› -Wraps: (4) ‹new-style innerone› +Wraps: (4) new-style ‹innerone› | ‹innertwo› | -- cause hidden behind barrier | new-style ‹innerone› @@ -454,61 +479,88 @@ Wraps: (4) ‹new-style innerone› | Wraps: (2) new-style ‹innerone› | | ‹innertwo› | Error types: (1) *withstack.withStack (2) *errutil.leafError -Error types: (1) *assert.withAssertionFailure (2) *withstack.withStack (3) *errutil.withPrefix (4) *barriers.barrierError +Error types: (1) *assert.withAssertionFailure (2) *withstack.withStack (3) *errutil.withPrefix (4) *barriers.barrierErr ===== ===== Sentry reporting ===== == Message payload -:: assertmsg: × -×: × -× --- -*barriers.barrierError: details for github.com/cockroachdb/errors/withstack/*withstack.withStack::: (1) -*errutil.withPrefix: assertmsg: × (2) +:: assertmsg: ×: new-style × +(1) assertion failure +Wraps: (2) attached stack trace + -- stack trace: + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (3) assertmsg: × + | × +Wraps: (4) new-style × + | × + | -- cause hidden behind barrier + | new-style × + | (1) attached stack trace + | -- stack trace: + | | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | | : + | | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | | : + | | github.com/cockroachdb/datadriven.runDirective.func1 + | | : + | | github.com/cockroachdb/datadriven.runDirective + | | : + | | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | | : + | | github.com/cockroachdb/datadriven.runTestInternal + | | : + | | github.com/cockroachdb/datadriven.RunTest + | | : + | | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | | : + | | github.com/cockroachdb/datadriven.Walk + | | : + | | github.com/cockroachdb/datadriven.Walk.func1 + | | : + | | testing.tRunner + | | : + | | runtime.goexit + | | : + | Wraps: (2) new-style × + | | × + | Error types: (1) *withstack.withStack (2) *errutil.leafError +Error types: (1) *assert.withAssertionFailure (2) *withstack.withStack (3) *errutil.withPrefix (4) *barriers.barrierErr +-- report composition: +*barriers.barrierErr: details for github.com/cockroachdb/errors/withstack/*withstack.withStack::: +*errutil.withPrefix: assertmsg: × :: *withstack.withStack (top exception) *assert.withAssertionFailure -(check the extra data payloads) -== Extra "1: details" -details for github.com/cockroachdb/errors/withstack/*withstack.withStack::: - - github.com/cockroachdb/errors/fmttests.glob...funcNN... - : - github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 - : - github.com/cockroachdb/datadriven.runDirective.func1 - : - github.com/cockroachdb/datadriven.runDirective - : - github.com/cockroachdb/datadriven.runDirectiveOrSubTest - : - github.com/cockroachdb/datadriven.runTestInternal - : - github.com/cockroachdb/datadriven.RunTest - : - github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 - : - github.com/cockroachdb/datadriven.Walk - : - github.com/cockroachdb/datadriven.Walk.func1 - : - testing.tRunner - : - runtime.goexit - : -details for github.com/cockroachdb/errors/errutil/*errutil.leafError::: - new-style × - × -== Extra "2: details" -assertmsg: × - × == Extra "error types" -github.com/cockroachdb/errors/barriers/*barriers.barrierError (*::) +github.com/cockroachdb/errors/barriers/*barriers.barrierErr (*::) github.com/cockroachdb/errors/errutil/*errutil.withPrefix (*::) github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) github.com/cockroachdb/errors/assert/*assert.withAssertionFailure (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*barriers.barrierError: assertmsg: ×\n×: ×\n×\nvia *withstack.withStack" +Title: "*barriers.barrierErr: assertmsg: ×: new-style ×\nvia *withstack.withStack" :: (runtime) goexit() :: @@ -533,8 +585,6 @@ Title: "*barriers.barrierError: assertmsg: ×\n×: ×\n×\nvia *withstack.withSt (github.com/cockroachdb/errors/fmttests.TestDatadriven.func2) 1() :: (github.com/cockroachdb/errors/fmttests.glob.)...funcNN... ----- ----- run newf innerone innertwo @@ -542,9 +592,8 @@ barrier outerthree outerfour require (?s) ---- ----- -&barriers.barrierError{ - msg: "new-style innerone\ninnertwo", +&barriers.barrierErr{ + smsg: "new-style ‹innerone›\n‹innertwo›", maskedErr: &withstack.withStack{ cause: &errutil.leafError{msg:"new-style ‹innerone›\n‹innertwo›"}, stack: &stack{...}, @@ -554,8 +603,8 @@ require (?s) ===== non-redactable formats ===== == %#v -&barriers.barrierError{ - msg: "new-style innerone\ninnertwo", +&barriers.barrierErr{ + smsg: "new-style ‹innerone›\n‹innertwo›", maskedErr: &withstack.withStack{ cause: &errutil.leafError{msg:"new-style ‹innerone›\n‹innertwo›"}, stack: &stack{...}, @@ -604,7 +653,7 @@ new-style innerone | Wraps: (2) new-style innerone | | innertwo | Error types: (1) *withstack.withStack (2) *errutil.leafError -Error types: (1) *barriers.barrierError +Error types: (1) *barriers.barrierErr == %#v via Formattable() = %#v, good == %v via Formattable() = Error(), good == %s via Formattable() = %v via Formattable(), good @@ -614,7 +663,7 @@ Error types: (1) *barriers.barrierError ===== redactable formats ===== == printed via redact Print(), ok - congruent with %v -‹new-style innerone› +new-style ‹innerone› ‹innertwo› == printed via redact Printf() %v = Print(), good == printed via redact Printf() %s = Print(), good @@ -622,8 +671,8 @@ Error types: (1) *barriers.barrierError == printed via redact Printf() %x, refused - good == printed via redact Printf() %X, refused - good == printed via redact Printf() %+v, ok - congruent with %+v -‹new-style innerone› -(1) ‹new-style innerone› +new-style ‹innerone› +(1) new-style ‹innerone› | ‹innertwo› | -- cause hidden behind barrier | new-style ‹innerone› @@ -656,54 +705,54 @@ Error types: (1) *barriers.barrierError | Wraps: (2) new-style ‹innerone› | | ‹innertwo› | Error types: (1) *withstack.withStack (2) *errutil.leafError -Error types: (1) *barriers.barrierError +Error types: (1) *barriers.barrierErr ===== ===== Sentry reporting ===== == Message payload -× -× --- -*barriers.barrierError: details for github.com/cockroachdb/errors/withstack/*withstack.withStack::: (1) -(check the extra data payloads) -== Extra "1: details" -details for github.com/cockroachdb/errors/withstack/*withstack.withStack::: - - github.com/cockroachdb/errors/fmttests.glob...funcNN... - : - github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 - : - github.com/cockroachdb/datadriven.runDirective.func1 - : - github.com/cockroachdb/datadriven.runDirective - : - github.com/cockroachdb/datadriven.runDirectiveOrSubTest - : - github.com/cockroachdb/datadriven.runTestInternal - : - github.com/cockroachdb/datadriven.RunTest - : - github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 - : - github.com/cockroachdb/datadriven.Walk - : - github.com/cockroachdb/datadriven.Walk.func1 - : - testing.tRunner - : - runtime.goexit - : -details for github.com/cockroachdb/errors/errutil/*errutil.leafError::: - new-style × - × +new-style × +(1) new-style × + | × + | -- cause hidden behind barrier + | new-style × + | (1) attached stack trace + | -- stack trace: + | | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | | : + | | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | | : + | | github.com/cockroachdb/datadriven.runDirective.func1 + | | : + | | github.com/cockroachdb/datadriven.runDirective + | | : + | | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | | : + | | github.com/cockroachdb/datadriven.runTestInternal + | | : + | | github.com/cockroachdb/datadriven.RunTest + | | : + | | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | | : + | | github.com/cockroachdb/datadriven.Walk + | | : + | | github.com/cockroachdb/datadriven.Walk.func1 + | | : + | | testing.tRunner + | | : + | | runtime.goexit + | | : + | Wraps: (2) new-style × + | | × + | Error types: (1) *withstack.withStack (2) *errutil.leafError +Error types: (1) *barriers.barrierErr +-- report composition: +*barriers.barrierErr: details for github.com/cockroachdb/errors/withstack/*withstack.withStack::: == Extra "error types" -github.com/cockroachdb/errors/barriers/*barriers.barrierError (*::) +github.com/cockroachdb/errors/barriers/*barriers.barrierErr (*::) == Exception 1 (Module: "error domain: ") -Type: "*barriers.barrierError" -Title: "×\n×" +Type: "*barriers.barrierErr" +Title: "new-style ×" (NO STACKTRACE) ----- ----- run newf innerone innertwo @@ -829,24 +878,51 @@ Error types: (1) *fmttests.werrDelegate (2) *withstack.withStack (3) *errutil.le ===== Sentry reporting ===== == Message payload -:: × -×: new-style × +:: ×: new-style × +(1) ×× +× × --- -*errutil.leafError: new-style × (1) +× +Wraps: (2) attached stack trace + -- stack trace: + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (3) new-style × + | × +Error types: (1) *fmttests.werrDelegate (2) *withstack.withStack (3) *errutil.leafError +-- report composition: +*errutil.leafError: new-style × :: *withstack.withStack (top exception) *fmttests.werrDelegate -(check the extra data payloads) -== Extra "1: details" -new-style × - × == Extra "error types" github.com/cockroachdb/errors/errutil/*errutil.leafError (*::) github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) github.com/cockroachdb/errors/fmttests/*fmttests.werrDelegate (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errutil.leafError: ×\n×: new-style ×\n×\nvia *withstack.withStack" +Title: "*errutil.leafError: ×: new-style ×\nvia *withstack.withStack" :: (runtime) goexit() :: @@ -987,22 +1063,47 @@ Error types: (1) *fmttests.werrDelegateEmpty (2) *withstack.withStack (3) *errut ===== == Message payload :: new-style × -× --- -*errutil.leafError: new-style × (1) +(1) +Wraps: (2) attached stack trace + -- stack trace: + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (3) new-style × + | × +Error types: (1) *fmttests.werrDelegateEmpty (2) *withstack.withStack (3) *errutil.leafError +-- report composition: +*errutil.leafError: new-style × :: *withstack.withStack (top exception) *fmttests.werrDelegateEmpty -(check the extra data payloads) -== Extra "1: details" -new-style × - × == Extra "error types" github.com/cockroachdb/errors/errutil/*errutil.leafError (*::) github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) github.com/cockroachdb/errors/fmttests/*fmttests.werrDelegateEmpty (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errutil.leafError: new-style ×\n×\nvia *withstack.withStack" +Title: "*errutil.leafError: new-style ×\nvia *withstack.withStack" :: (runtime) goexit() :: @@ -1143,22 +1244,47 @@ Error types: (1) *fmttests.werrDelegateNoPrefix (2) *withstack.withStack (3) *er ===== == Message payload :: new-style × -× --- -*errutil.leafError: new-style × (1) +(1) × +Wraps: (2) attached stack trace + -- stack trace: + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (3) new-style × + | × +Error types: (1) *fmttests.werrDelegateNoPrefix (2) *withstack.withStack (3) *errutil.leafError +-- report composition: +*errutil.leafError: new-style × :: *withstack.withStack (top exception) *fmttests.werrDelegateNoPrefix -(check the extra data payloads) -== Extra "1: details" -new-style × - × == Extra "error types" github.com/cockroachdb/errors/errutil/*errutil.leafError (*::) github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) github.com/cockroachdb/errors/fmttests/*fmttests.werrDelegateNoPrefix (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errutil.leafError: new-style ×\n×\nvia *withstack.withStack" +Title: "*errutil.leafError: new-style ×\nvia *withstack.withStack" :: (runtime) goexit() :: @@ -1303,22 +1429,48 @@ Error types: (1) *hintdetail.withDetail (2) *withstack.withStack (3) *errutil.le ===== == Message payload :: new-style × +(1) × × --- -*errutil.leafError: new-style × (1) +Wraps: (2) attached stack trace + -- stack trace: + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (3) new-style × + | × +Error types: (1) *hintdetail.withDetail (2) *withstack.withStack (3) *errutil.leafError +-- report composition: +*errutil.leafError: new-style × :: *withstack.withStack (top exception) *hintdetail.withDetail -(check the extra data payloads) -== Extra "1: details" -new-style × - × == Extra "error types" github.com/cockroachdb/errors/errutil/*errutil.leafError (*::) github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) github.com/cockroachdb/errors/hintdetail/*hintdetail.withDetail (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errutil.leafError: new-style ×\n×\nvia *withstack.withStack" +Title: "*errutil.leafError: new-style ×\nvia *withstack.withStack" :: (runtime) goexit() :: @@ -1461,24 +1613,47 @@ Error types: (1) *domains.withDomain (2) *withstack.withStack (3) *errutil.leafE ===== == Message payload :: new-style × -× --- -*errutil.leafError: new-style × (1) +(1) mydomain +Wraps: (2) attached stack trace + -- stack trace: + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (3) new-style × + | × +Error types: (1) *domains.withDomain (2) *withstack.withStack (3) *errutil.leafError +-- report composition: +*errutil.leafError: new-style × :: *withstack.withStack (top exception) -*domains.withDomain: mydomain (2) -(check the extra data payloads) -== Extra "1: details" -new-style × - × -== Extra "2: details" -mydomain +*domains.withDomain: mydomain == Extra "error types" github.com/cockroachdb/errors/errutil/*errutil.leafError (*::) github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) github.com/cockroachdb/errors/domains/*domains.withDomain (*::mydomain) == Exception 1 (Module: "mydomain") Type: ": ...funcNN... -Title: "*errutil.leafError: new-style ×\n×\nvia *withstack.withStack" +Title: "*errutil.leafError: new-style ×\nvia *withstack.withStack" :: (runtime) goexit() :: @@ -1623,22 +1798,48 @@ Error types: (1) *fmttests.werrWithElidedCause (2) *withstack.withStack (3) *err ===== == Message payload :: × +(1) ×× × --- -*errutil.leafError: new-style × (1) +Wraps: (2) attached stack trace + -- stack trace: + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (3) new-style × + | × +Error types: (1) *fmttests.werrWithElidedCause (2) *withstack.withStack (3) *errutil.leafError +-- report composition: +*errutil.leafError: new-style × :: *withstack.withStack (top exception) *fmttests.werrWithElidedCause -(check the extra data payloads) -== Extra "1: details" -new-style × - × == Extra "error types" github.com/cockroachdb/errors/errutil/*errutil.leafError (*::) github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) github.com/cockroachdb/errors/fmttests/*fmttests.werrWithElidedCause (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errutil.leafError: ×\n×\nvia *withstack.withStack" +Title: "*errutil.leafError: ×\nvia *withstack.withStack" :: (runtime) goexit() :: @@ -1779,22 +1980,47 @@ Error types: (1) *fmttests.werrEmpty (2) *withstack.withStack (3) *errutil.leafE ===== == Message payload :: new-style × -× --- -*errutil.leafError: new-style × (1) +(1) +Wraps: (2) attached stack trace + -- stack trace: + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (3) new-style × + | × +Error types: (1) *fmttests.werrEmpty (2) *withstack.withStack (3) *errutil.leafError +-- report composition: +*errutil.leafError: new-style × :: *withstack.withStack (top exception) *fmttests.werrEmpty -(check the extra data payloads) -== Extra "1: details" -new-style × - × == Extra "error types" github.com/cockroachdb/errors/errutil/*errutil.leafError (*::) github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) github.com/cockroachdb/errors/fmttests/*fmttests.werrEmpty (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errutil.leafError: new-style ×\n×\nvia *withstack.withStack" +Title: "*errutil.leafError: new-style ×\nvia *withstack.withStack" :: (runtime) goexit() :: @@ -1946,24 +2172,52 @@ Error types: (1) *fmttests.werrFmt (2) *withstack.withStack (3) *errutil.leafErr ===== Sentry reporting ===== == Message payload -:: × -×: new-style × +:: ×: new-style × +(1) ×× +× +× +× × --- -*errutil.leafError: new-style × (1) +Wraps: (2) attached stack trace + -- stack trace: + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (3) new-style × + | × +Error types: (1) *fmttests.werrFmt (2) *withstack.withStack (3) *errutil.leafError +-- report composition: +*errutil.leafError: new-style × :: *withstack.withStack (top exception) *fmttests.werrFmt -(check the extra data payloads) -== Extra "1: details" -new-style × - × == Extra "error types" github.com/cockroachdb/errors/errutil/*errutil.leafError (*::) github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) github.com/cockroachdb/errors/fmttests/*fmttests.werrFmt (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errutil.leafError: ×\n×: new-style ×\n×\nvia *withstack.withStack" +Title: "*errutil.leafError: ×: new-style ×\nvia *withstack.withStack" :: (runtime) goexit() :: @@ -2146,24 +2400,49 @@ Error types: (1) *fmttests.werrFmto (2) *withstack.withStack (3) *errutil.leafEr ===== Sentry reporting ===== == Message payload -:: × -×: new-style × +:: ×: new-style × +(1) ×× × --- -*errutil.leafError: new-style × (1) +Wraps: (2) attached stack trace + -- stack trace: + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (3) new-style × + | × +Error types: (1) *fmttests.werrFmto (2) *withstack.withStack (3) *errutil.leafError +-- report composition: +*errutil.leafError: new-style × :: *withstack.withStack (top exception) *fmttests.werrFmto -(check the extra data payloads) -== Extra "1: details" -new-style × - × == Extra "error types" github.com/cockroachdb/errors/errutil/*errutil.leafError (*::) github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) github.com/cockroachdb/errors/fmttests/*fmttests.werrFmto (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errutil.leafError: ×\n×: new-style ×\n×\nvia *withstack.withStack" +Title: "*errutil.leafError: ×: new-style ×\nvia *withstack.withStack" :: (runtime) goexit() :: @@ -2346,24 +2625,49 @@ Error types: (1) *fmttests.werrFmtoDelegate (2) *withstack.withStack (3) *erruti ===== Sentry reporting ===== == Message payload -:: × -×: new-style × +:: ×: new-style × +(1) ×× × --- -*errutil.leafError: new-style × (1) +Wraps: (2) attached stack trace + -- stack trace: + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (3) new-style × + | × +Error types: (1) *fmttests.werrFmtoDelegate (2) *withstack.withStack (3) *errutil.leafError +-- report composition: +*errutil.leafError: new-style × :: *withstack.withStack (top exception) *fmttests.werrFmtoDelegate -(check the extra data payloads) -== Extra "1: details" -new-style × - × == Extra "error types" github.com/cockroachdb/errors/errutil/*errutil.leafError (*::) github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) github.com/cockroachdb/errors/fmttests/*fmttests.werrFmtoDelegate (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errutil.leafError: ×\n×: new-style ×\n×\nvia *withstack.withStack" +Title: "*errutil.leafError: ×: new-style ×\nvia *withstack.withStack" :: (runtime) goexit() :: @@ -2509,24 +2813,49 @@ Error types: (1) *fmttests.werrFmtp (2) *withstack.withStack (3) *errutil.leafEr ===== Sentry reporting ===== == Message payload -:: × -×: new-style × +:: ×: new-style × +(1) ×× × --- -*errutil.leafError: new-style × (1) +Wraps: (2) attached stack trace + -- stack trace: + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (3) new-style × + | × +Error types: (1) *fmttests.werrFmtp (2) *withstack.withStack (3) *errutil.leafError +-- report composition: +*errutil.leafError: new-style × :: *withstack.withStack (top exception) *fmttests.werrFmtp -(check the extra data payloads) -== Extra "1: details" -new-style × - × == Extra "error types" github.com/cockroachdb/errors/errutil/*errutil.leafError (*::) github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) github.com/cockroachdb/errors/fmttests/*fmttests.werrFmtp (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errutil.leafError: ×\n×: new-style ×\n×\nvia *withstack.withStack" +Title: "*errutil.leafError: ×: new-style ×\nvia *withstack.withStack" :: (runtime) goexit() :: @@ -2676,24 +3005,49 @@ Error types: (1) *fmt.wrapError (2) *withstack.withStack (3) *errutil.leafError ===== Sentry reporting ===== == Message payload -:: × -×: new-style × +:: ×: new-style × +(1) ×× × --- -*errutil.leafError: new-style × (1) +Wraps: (2) attached stack trace + -- stack trace: + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (3) new-style × + | × +Error types: (1) *fmt.wrapError (2) *withstack.withStack (3) *errutil.leafError +-- report composition: +*errutil.leafError: new-style × :: *withstack.withStack (top exception) *fmt.wrapError -(check the extra data payloads) -== Extra "1: details" -new-style × - × == Extra "error types" github.com/cockroachdb/errors/errutil/*errutil.leafError (*::) github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) fmt/*fmt.wrapError (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errutil.leafError: ×\n×: new-style ×\n×\nvia *withstack.withStack" +Title: "*errutil.leafError: ×: new-style ×\nvia *withstack.withStack" :: (runtime) goexit() :: @@ -2725,10 +3079,9 @@ handled-domain outerthree outerfour require (?s) ---- ----- &domains.withDomain{ - cause: &barriers.barrierError{ - msg: "new-style innerone\ninnertwo", + cause: &barriers.barrierErr{ + smsg: "new-style ‹innerone›\n‹innertwo›", maskedErr: &withstack.withStack{ cause: &errutil.leafError{msg:"new-style ‹innerone›\n‹innertwo›"}, stack: &stack{...}, @@ -2741,8 +3094,8 @@ require (?s) ===== == %#v &domains.withDomain{ - cause: &barriers.barrierError{ - msg: "new-style innerone\ninnertwo", + cause: &barriers.barrierErr{ + smsg: "new-style ‹innerone›\n‹innertwo›", maskedErr: &withstack.withStack{ cause: &errutil.leafError{msg:"new-style ‹innerone›\n‹innertwo›"}, stack: &stack{...}, @@ -2794,7 +3147,7 @@ Wraps: (2) new-style innerone | Wraps: (2) new-style innerone | | innertwo | Error types: (1) *withstack.withStack (2) *errutil.leafError -Error types: (1) *domains.withDomain (2) *barriers.barrierError +Error types: (1) *domains.withDomain (2) *barriers.barrierErr == %#v via Formattable() = %#v, good == %v via Formattable() = Error(), good == %s via Formattable() = %v via Formattable(), good @@ -2804,7 +3157,7 @@ Error types: (1) *domains.withDomain (2) *barriers.barrierError ===== redactable formats ===== == printed via redact Print(), ok - congruent with %v -‹new-style innerone› +new-style ‹innerone› ‹innertwo› == printed via redact Printf() %v = Print(), good == printed via redact Printf() %s = Print(), good @@ -2812,9 +3165,9 @@ Error types: (1) *domains.withDomain (2) *barriers.barrierError == printed via redact Printf() %x, refused - good == printed via redact Printf() %X, refused - good == printed via redact Printf() %+v, ok - congruent with %+v -‹new-style innerone› +new-style ‹innerone› (1) error domain: pkg -Wraps: (2) ‹new-style innerone› +Wraps: (2) new-style ‹innerone› | ‹innertwo› | -- cause hidden behind barrier | new-style ‹innerone› @@ -2847,58 +3200,57 @@ Wraps: (2) ‹new-style innerone› | Wraps: (2) new-style ‹innerone› | | ‹innertwo› | Error types: (1) *withstack.withStack (2) *errutil.leafError -Error types: (1) *domains.withDomain (2) *barriers.barrierError +Error types: (1) *domains.withDomain (2) *barriers.barrierErr ===== ===== Sentry reporting ===== == Message payload -× -× --- -*barriers.barrierError: details for github.com/cockroachdb/errors/withstack/*withstack.withStack::: (1) -*domains.withDomain: error domain: pkg (2) -(check the extra data payloads) -== Extra "1: details" -details for github.com/cockroachdb/errors/withstack/*withstack.withStack::: - - github.com/cockroachdb/errors/fmttests.glob...funcNN... - : - github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 - : - github.com/cockroachdb/datadriven.runDirective.func1 - : - github.com/cockroachdb/datadriven.runDirective - : - github.com/cockroachdb/datadriven.runDirectiveOrSubTest - : - github.com/cockroachdb/datadriven.runTestInternal - : - github.com/cockroachdb/datadriven.RunTest - : - github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 - : - github.com/cockroachdb/datadriven.Walk - : - github.com/cockroachdb/datadriven.Walk.func1 - : - testing.tRunner - : - runtime.goexit - : -details for github.com/cockroachdb/errors/errutil/*errutil.leafError::: - new-style × - × -== Extra "2: details" -error domain: pkg +new-style × +(1) error domain: pkg +Wraps: (2) new-style × + | × + | -- cause hidden behind barrier + | new-style × + | (1) attached stack trace + | -- stack trace: + | | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | | : + | | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | | : + | | github.com/cockroachdb/datadriven.runDirective.func1 + | | : + | | github.com/cockroachdb/datadriven.runDirective + | | : + | | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | | : + | | github.com/cockroachdb/datadriven.runTestInternal + | | : + | | github.com/cockroachdb/datadriven.RunTest + | | : + | | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | | : + | | github.com/cockroachdb/datadriven.Walk + | | : + | | github.com/cockroachdb/datadriven.Walk.func1 + | | : + | | testing.tRunner + | | : + | | runtime.goexit + | | : + | Wraps: (2) new-style × + | | × + | Error types: (1) *withstack.withStack (2) *errutil.leafError +Error types: (1) *domains.withDomain (2) *barriers.barrierErr +-- report composition: +*barriers.barrierErr: details for github.com/cockroachdb/errors/withstack/*withstack.withStack::: +*domains.withDomain: error domain: pkg == Extra "error types" -github.com/cockroachdb/errors/barriers/*barriers.barrierError (*::) +github.com/cockroachdb/errors/barriers/*barriers.barrierErr (*::) github.com/cockroachdb/errors/domains/*domains.withDomain (*::error domain: pkg ) == Exception 1 (Module: "error domain: pkg ") -Type: "*barriers.barrierError" -Title: "×\n×" +Type: "*barriers.barrierErr" +Title: "new-style ×" (NO STACKTRACE) ----- ----- run newf innerone innertwo @@ -3019,22 +3371,48 @@ Error types: (1) *hintdetail.withHint (2) *withstack.withStack (3) *errutil.leaf ===== == Message payload :: new-style × +(1) × × --- -*errutil.leafError: new-style × (1) +Wraps: (2) attached stack trace + -- stack trace: + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (3) new-style × + | × +Error types: (1) *hintdetail.withHint (2) *withstack.withStack (3) *errutil.leafError +-- report composition: +*errutil.leafError: new-style × :: *withstack.withStack (top exception) *hintdetail.withHint -(check the extra data payloads) -== Extra "1: details" -new-style × - × == Extra "error types" github.com/cockroachdb/errors/errutil/*errutil.leafError (*::) github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) github.com/cockroachdb/errors/hintdetail/*hintdetail.withHint (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errutil.leafError: new-style ×\n×\nvia *withstack.withStack" +Title: "*errutil.leafError: new-style ×\nvia *withstack.withStack" :: (runtime) goexit() :: @@ -3181,26 +3559,49 @@ Error types: (1) *issuelink.withIssueLink (2) *withstack.withStack (3) *errutil. ===== == Message payload :: new-style × -× --- -*errutil.leafError: new-style × (1) +(1) issue: https://mysite + | detail: outerthree + | outerfour +Wraps: (2) attached stack trace + -- stack trace: + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (3) new-style × + | × +Error types: (1) *issuelink.withIssueLink (2) *withstack.withStack (3) *errutil.leafError +-- report composition: +*errutil.leafError: new-style × :: *withstack.withStack (top exception) -*issuelink.withIssueLink: https://mysite (2) -(check the extra data payloads) -== Extra "1: details" -new-style × - × -== Extra "2: details" -https://mysite -outerthree - outerfour +*issuelink.withIssueLink: https://mysite == Extra "error types" github.com/cockroachdb/errors/errutil/*errutil.leafError (*::) github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) github.com/cockroachdb/errors/issuelink/*issuelink.withIssueLink (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errutil.leafError: new-style ×\n×\nvia *withstack.withStack" +Title: "*errutil.leafError: new-style ×\nvia *withstack.withStack" :: (runtime) goexit() :: @@ -3333,30 +3734,55 @@ Wraps: (2) attached stack trace | : | runtime.goexit | : -Wraps: (3) new-style ‹innerone› - | ‹innertwo› +Wraps: (3) new-style ‹innerone› + | ‹innertwo› +Error types: (1) *fmttests.werrMigrated (2) *withstack.withStack (3) *errutil.leafError +===== +===== Sentry reporting +===== +== Message payload +:: new-style × +(1) +Wraps: (2) attached stack trace + -- stack trace: + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (3) new-style × + | × Error types: (1) *fmttests.werrMigrated (2) *withstack.withStack (3) *errutil.leafError -===== -===== Sentry reporting -===== -== Message payload -:: new-style × -× --- -*errutil.leafError: new-style × (1) +-- report composition: +*errutil.leafError: new-style × :: *withstack.withStack (top exception) *fmttests.werrMigrated -(check the extra data payloads) -== Extra "1: details" -new-style × - × == Extra "error types" github.com/cockroachdb/errors/errutil/*errutil.leafError (*::) github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) github.com/cockroachdb/errors/fmttests/*fmttests.werrMigrated (some/previous/path/prevpkg.prevType::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errutil.leafError: new-style ×\n×\nvia *withstack.withStack" +Title: "*errutil.leafError: new-style ×\nvia *withstack.withStack" :: (runtime) goexit() :: @@ -3502,27 +3928,49 @@ Error types: (1) *errutil.withPrefix (2) *withstack.withStack (3) *errutil.leafE ===== Sentry reporting ===== == Message payload -:: outerthree -outerfour: new-style × -× --- -*errutil.leafError: new-style × (1) +:: outerthree: new-style × +(1) outerthree + | outerfour +Wraps: (2) attached stack trace + -- stack trace: + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (3) new-style × + | × +Error types: (1) *errutil.withPrefix (2) *withstack.withStack (3) *errutil.leafError +-- report composition: +*errutil.leafError: new-style × :: *withstack.withStack (top exception) -*errutil.withPrefix: outerthree (2) -(check the extra data payloads) -== Extra "1: details" -new-style × - × -== Extra "2: details" -outerthree - outerfour +*errutil.withPrefix: outerthree == Extra "error types" github.com/cockroachdb/errors/errutil/*errutil.leafError (*::) github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) github.com/cockroachdb/errors/errutil/*errutil.withPrefix (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errutil.leafError: outerthree\nouterfour: new-style ×\n×\nvia *withstack.withStack" +Title: "*errutil.leafError: outerthree: new-style ×\nvia *withstack.withStack" :: (runtime) goexit() :: @@ -3554,7 +4002,6 @@ newfw outerthree outerfour require (?s)outerthree.*outerfour.* ---- ----- &withstack.withStack{ cause: &secondary.withSecondaryError{ cause: &errutil.withNewMessage{ @@ -3762,52 +4209,81 @@ Error types: (1) *withstack.withStack (2) *secondary.withSecondaryError (3) *err ===== == Message payload :: new-style (× -×) :: new-style × -× :: --- -*errutil.leafError: new-style × (1) +(1) attached stack trace + -- stack trace: + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | [...repeated from below...] +Wraps: (2) secondary error attachment + | new-style × + | (1) attached stack trace + | -- stack trace: + | | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | | : + | | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | | : + | | github.com/cockroachdb/datadriven.runDirective.func1 + | | : + | | github.com/cockroachdb/datadriven.runDirective + | | : + | | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | | : + | | github.com/cockroachdb/datadriven.runTestInternal + | | : + | | github.com/cockroachdb/datadriven.RunTest + | | : + | | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | | : + | | github.com/cockroachdb/datadriven.Walk + | | : + | | github.com/cockroachdb/datadriven.Walk.func1 + | | : + | | testing.tRunner + | | : + | | runtime.goexit + | | : + | Wraps: (2) new-style × + | | × + | Error types: (1) *withstack.withStack (2) *errutil.leafError +Wraps: (3) new-style (× + | ×) :: new-style × + | × :: +Wraps: (4) attached stack trace + -- stack trace: + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (5) new-style × + | × +Error types: (1) *withstack.withStack (2) *secondary.withSecondaryError (3) *errutil.withNewMessage (4) *withstack.withStack (5) *errutil.leafError +-- report composition: +*errutil.leafError: new-style × :: *withstack.withStack (top exception) -*errutil.withNewMessage: new-style (× (2) -*secondary.withSecondaryError: details for github.com/cockroachdb/errors/withstack/*withstack.withStack::: (3) -:: *withstack.withStack (4) +*errutil.withNewMessage: new-style (× +*secondary.withSecondaryError: details for github.com/cockroachdb/errors/withstack/*withstack.withStack::: +:: *withstack.withStack (1) (check the extra data payloads) -== Extra "1: details" -new-style × - × -== Extra "2: details" -new-style (× - ×) :: new-style × - × :: -== Extra "3: details" -details for github.com/cockroachdb/errors/withstack/*withstack.withStack::: - - github.com/cockroachdb/errors/fmttests.glob...funcNN... - : - github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 - : - github.com/cockroachdb/datadriven.runDirective.func1 - : - github.com/cockroachdb/datadriven.runDirective - : - github.com/cockroachdb/datadriven.runDirectiveOrSubTest - : - github.com/cockroachdb/datadriven.runTestInternal - : - github.com/cockroachdb/datadriven.RunTest - : - github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 - : - github.com/cockroachdb/datadriven.Walk - : - github.com/cockroachdb/datadriven.Walk.func1 - : - testing.tRunner - : - runtime.goexit - : -details for github.com/cockroachdb/errors/errutil/*errutil.leafError::: - new-style × - × == Extra "error types" github.com/cockroachdb/errors/errutil/*errutil.leafError (*::) github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) @@ -3815,7 +4291,7 @@ github.com/cockroachdb/errors/errutil/*errutil.withNewMessage (*::) github.com/cockroachdb/errors/secondary/*secondary.withSecondaryError (*::) github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) == Exception 1 (Module: "error domain: ") -Type: "(4) : ...funcNN... +Type: "(1) : ...funcNN... Title: "*withstack.withStack" :: (runtime) goexit() @@ -3843,7 +4319,7 @@ Title: "*withstack.withStack" (github.com/cockroachdb/errors/fmttests.glob.)...funcNN... == Exception 2 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errutil.leafError: new-style (×\n×) :: new-style ×\n× ::\nvia *withstack.withStack" +Title: "*errutil.leafError: new-style (×\nvia *withstack.withStack" :: (runtime) goexit() :: @@ -3868,8 +4344,6 @@ Title: "*errutil.leafError: new-style (×\n×) :: new-style ×\n× ::\nvia *with (github.com/cockroachdb/errors/fmttests.TestDatadriven.func2) 1() :: (github.com/cockroachdb/errors/fmttests.glob.)...funcNN... ----- ----- run newf innerone innertwo @@ -3995,24 +4469,49 @@ Error types: (1) *fmttests.werrNoFmt (2) *withstack.withStack (3) *errutil.leafE ===== Sentry reporting ===== == Message payload -:: × -×: new-style × +:: ×: new-style × +(1) ×× × --- -*errutil.leafError: new-style × (1) +Wraps: (2) attached stack trace + -- stack trace: + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (3) new-style × + | × +Error types: (1) *fmttests.werrNoFmt (2) *withstack.withStack (3) *errutil.leafError +-- report composition: +*errutil.leafError: new-style × :: *withstack.withStack (top exception) *fmttests.werrNoFmt -(check the extra data payloads) -== Extra "1: details" -new-style × - × == Extra "error types" github.com/cockroachdb/errors/errutil/*errutil.leafError (*::) github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) github.com/cockroachdb/errors/fmttests/*fmttests.werrNoFmt (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errutil.leafError: ×\n×: new-style ×\n×\nvia *withstack.withStack" +Title: "*errutil.leafError: ×: new-style ×\nvia *withstack.withStack" :: (runtime) goexit() :: @@ -4166,22 +4665,47 @@ Error types: (1) *os.LinkError (2) *withstack.withStack (3) *errutil.leafError ===== == Message payload :: link × ×: new-style × -× --- -*errutil.leafError: new-style × (1) +(1) link × × +Wraps: (2) attached stack trace + -- stack trace: + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (3) new-style × + | × +Error types: (1) *os.LinkError (2) *withstack.withStack (3) *errutil.leafError +-- report composition: +*errutil.leafError: new-style × :: *withstack.withStack (top exception) *os.LinkError -(check the extra data payloads) -== Extra "1: details" -new-style × - × == Extra "error types" github.com/cockroachdb/errors/errutil/*errutil.leafError (*::) github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) os/*os.LinkError (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errutil.leafError: link × ×: new-style ×\n×\nvia *withstack.withStack" +Title: "*errutil.leafError: link × ×: new-style ×\nvia *withstack.withStack" :: (runtime) goexit() :: @@ -4337,22 +4861,47 @@ Error types: (1) *net.OpError (2) *withstack.withStack (3) *errutil.leafError ===== == Message payload :: send tcp ×: new-style × -× --- -*errutil.leafError: new-style × (1) +(1) send tcp × +Wraps: (2) attached stack trace + -- stack trace: + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (3) new-style × + | × +Error types: (1) *net.OpError (2) *withstack.withStack (3) *errutil.leafError +-- report composition: +*errutil.leafError: new-style × :: *withstack.withStack (top exception) *net.OpError -(check the extra data payloads) -== Extra "1: details" -new-style × - × == Extra "error types" github.com/cockroachdb/errors/errutil/*errutil.leafError (*::) github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) net/*net.OpError (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errutil.leafError: send tcp ×: new-style ×\n×\nvia *withstack.withStack" +Title: "*errutil.leafError: send tcp ×: new-style ×\nvia *withstack.withStack" :: (runtime) goexit() :: @@ -4457,19 +5006,54 @@ Wraps: (3) new-style innerone | innertwo Error types: (1) *fs.PathError (2) *withstack.withStack (3) *errutil.leafError ===== -===== redactable formats +===== redactable formats +===== +== printed via redact Print(), ok - congruent with %v +link ‹/path/to/file›: new-style ‹innerone› +‹innertwo› +== printed via redact Printf() %v = Print(), good +== printed via redact Printf() %s = Print(), good +== printed via redact Printf() %q, refused - good +== printed via redact Printf() %x, refused - good +== printed via redact Printf() %X, refused - good +== printed via redact Printf() %+v, ok - congruent with %+v via Formattable() +link ‹/path/to/file›: new-style ‹innerone› +(1) link ‹/path/to/file› +Wraps: (2) attached stack trace + -- stack trace: + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (3) new-style ‹innerone› + | ‹innertwo› +Error types: (1) *fs.PathError (2) *withstack.withStack (3) *errutil.leafError +===== +===== Sentry reporting ===== -== printed via redact Print(), ok - congruent with %v -link ‹/path/to/file›: new-style ‹innerone› -‹innertwo› -== printed via redact Printf() %v = Print(), good -== printed via redact Printf() %s = Print(), good -== printed via redact Printf() %q, refused - good -== printed via redact Printf() %x, refused - good -== printed via redact Printf() %X, refused - good -== printed via redact Printf() %+v, ok - congruent with %+v via Formattable() -link ‹/path/to/file›: new-style ‹innerone› -(1) link ‹/path/to/file› +== Message payload +:: link ×: new-style × +(1) link × Wraps: (2) attached stack trace -- stack trace: | github.com/cockroachdb/errors/fmttests.glob...funcNN... @@ -4496,30 +5080,20 @@ Wraps: (2) attached stack trace | : | runtime.goexit | : -Wraps: (3) new-style ‹innerone› - | ‹innertwo› +Wraps: (3) new-style × + | × Error types: (1) *fs.PathError (2) *withstack.withStack (3) *errutil.leafError -===== -===== Sentry reporting -===== -== Message payload -:: link ×: new-style × -× --- -*errutil.leafError: new-style × (1) +-- report composition: +*errutil.leafError: new-style × :: *withstack.withStack (top exception) *fs.PathError -(check the extra data payloads) -== Extra "1: details" -new-style × - × == Extra "error types" github.com/cockroachdb/errors/errutil/*errutil.leafError (*::) github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) io/fs/*fs.PathError (os/*os.PathError::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errutil.leafError: link ×: new-style ×\n×\nvia *withstack.withStack" +Title: "*errutil.leafError: link ×: new-style ×\nvia *withstack.withStack" :: (runtime) goexit() :: @@ -4669,22 +5243,47 @@ Error types: (1) *os.SyscallError (2) *withstack.withStack (3) *errutil.leafErro ===== == Message payload :: open: new-style × -× --- -*errutil.leafError: new-style × (1) +(1) open +Wraps: (2) attached stack trace + -- stack trace: + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (3) new-style × + | × +Error types: (1) *os.SyscallError (2) *withstack.withStack (3) *errutil.leafError +-- report composition: +*errutil.leafError: new-style × :: *withstack.withStack (top exception) *os.SyscallError -(check the extra data payloads) -== Extra "1: details" -new-style × - × == Extra "error types" github.com/cockroachdb/errors/errutil/*errutil.leafError (*::) github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) os/*os.SyscallError (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errutil.leafError: open: new-style ×\n×\nvia *withstack.withStack" +Title: "*errutil.leafError: open: new-style ×\nvia *withstack.withStack" :: (runtime) goexit() :: @@ -4875,24 +5474,49 @@ Error types: (1) *errors.withMessage (2) *withstack.withStack (3) *errutil.leafE ===== Sentry reporting ===== == Message payload -:: × -×: new-style × +:: ×: new-style × +(1) ×× × --- -*errutil.leafError: new-style × (1) +Wraps: (2) attached stack trace + -- stack trace: + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (3) new-style × + | × +Error types: (1) *errors.withMessage (2) *withstack.withStack (3) *errutil.leafError +-- report composition: +*errutil.leafError: new-style × :: *withstack.withStack (top exception) *errors.withMessage -(check the extra data payloads) -== Extra "1: details" -new-style × - × == Extra "error types" github.com/cockroachdb/errors/errutil/*errutil.leafError (*::) github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) github.com/pkg/errors/*errors.withMessage (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errutil.leafError: ×\n×: new-style ×\n×\nvia *withstack.withStack" +Title: "*errutil.leafError: ×: new-style ×\nvia *withstack.withStack" :: (runtime) goexit() :: @@ -5106,21 +5730,51 @@ Error types: (1) *errors.withStack (2) *withstack.withStack (3) *errutil.leafErr ===== == Message payload :: new-style × -× --- -*errutil.leafError: new-style × (1) +(1) + -- stack trace: + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | [...repeated from below...] +Wraps: (2) attached stack trace + -- stack trace: + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (3) new-style × + | × +Error types: (1) *errors.withStack (2) *withstack.withStack (3) *errutil.leafError +-- report composition: +*errutil.leafError: new-style × :: *withstack.withStack (top exception) -:: *errors.withStack (2) +:: *errors.withStack (1) (check the extra data payloads) -== Extra "1: details" -new-style × - × == Extra "error types" github.com/cockroachdb/errors/errutil/*errutil.leafError (*::) github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) github.com/pkg/errors/*errors.withStack (*::) == Exception 1 (Module: "error domain: ") -Type: "(2) : ...funcNN... +Type: "(1) : ...funcNN... Title: "*errors.withStack" :: (runtime) goexit() @@ -5148,7 +5802,7 @@ Title: "*errors.withStack" (github.com/cockroachdb/errors/fmttests.glob.)...funcNN... == Exception 2 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errutil.leafError: new-style ×\n×\nvia *withstack.withStack" +Title: "*errutil.leafError: new-style ×\nvia *withstack.withStack" :: (runtime) goexit() :: @@ -5293,25 +5947,48 @@ Error types: (1) *safedetails.withSafeDetails (2) *withstack.withStack (3) *erru ===== == Message payload :: new-style × -× --- -*errutil.leafError: new-style × (1) +(1) safe × + | × +Wraps: (2) attached stack trace + -- stack trace: + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (3) new-style × + | × +Error types: (1) *safedetails.withSafeDetails (2) *withstack.withStack (3) *errutil.leafError +-- report composition: +*errutil.leafError: new-style × :: *withstack.withStack (top exception) -*safedetails.withSafeDetails: safe × (2) -(check the extra data payloads) -== Extra "1: details" -new-style × - × -== Extra "2: details" -safe × - × +*safedetails.withSafeDetails: safe × == Extra "error types" github.com/cockroachdb/errors/errutil/*errutil.leafError (*::) github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) github.com/cockroachdb/errors/safedetails/*safedetails.withSafeDetails (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errutil.leafError: new-style ×\n×\nvia *withstack.withStack" +Title: "*errutil.leafError: new-style ×\nvia *withstack.withStack" :: (runtime) goexit() :: @@ -5457,24 +6134,49 @@ Error types: (1) *fmttests.werrSafeFormat (2) *withstack.withStack (3) *errutil. ===== Sentry reporting ===== == Message payload -:: safe × -×: new-style × -× --- -*errutil.leafError: new-style × (1) +:: safe ×: new-style × +(1) safe × + | × +Wraps: (2) attached stack trace + -- stack trace: + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (3) new-style × + | × +Error types: (1) *fmttests.werrSafeFormat (2) *withstack.withStack (3) *errutil.leafError +-- report composition: +*errutil.leafError: new-style × :: *withstack.withStack (top exception) *fmttests.werrSafeFormat -(check the extra data payloads) -== Extra "1: details" -new-style × - × == Extra "error types" github.com/cockroachdb/errors/errutil/*errutil.leafError (*::) github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) github.com/cockroachdb/errors/fmttests/*fmttests.werrSafeFormat (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errutil.leafError: safe ×\n×: new-style ×\n×\nvia *withstack.withStack" +Title: "*errutil.leafError: safe ×: new-style ×\nvia *withstack.withStack" :: (runtime) goexit() :: @@ -5506,7 +6208,6 @@ secondary outerthree outerfour require (?s) ---- ----- &secondary.withSecondaryError{ cause: &withstack.withStack{ cause: &errutil.leafError{msg:"new-style ‹innerone›\n‹innertwo›"}, @@ -5598,27 +6299,92 @@ Wraps: (2) attached stack trace | : | runtime.goexit | : -Wraps: (3) new-style innerone - | innertwo +Wraps: (3) new-style innerone + | innertwo +Error types: (1) *secondary.withSecondaryError (2) *withstack.withStack (3) *errutil.leafError +== %#v via Formattable() = %#v, good +== %v via Formattable() = Error(), good +== %s via Formattable() = %v via Formattable(), good +== %q via Formattable() = quoted %v via Formattable(), good +== %+v via Formattable() == %+v, good +===== +===== redactable formats +===== +== printed via redact Print(), ok - congruent with %v +new-style ‹innerone› +‹innertwo› +== printed via redact Printf() %v = Print(), good +== printed via redact Printf() %s = Print(), good +== printed via redact Printf() %q, refused - good +== printed via redact Printf() %x, refused - good +== printed via redact Printf() %X, refused - good +== printed via redact Printf() %+v, ok - congruent with %+v +new-style ‹innerone› +(1) secondary error attachment + | outerthree + | (1) attached stack trace + | -- stack trace: + | | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | | : + | | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | | : + | | github.com/cockroachdb/datadriven.runDirective.func1 + | | : + | | github.com/cockroachdb/datadriven.runDirective + | | : + | | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | | : + | | github.com/cockroachdb/datadriven.runTestInternal + | | : + | | github.com/cockroachdb/datadriven.RunTest + | | : + | | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | | : + | | github.com/cockroachdb/datadriven.Walk + | | : + | | github.com/cockroachdb/datadriven.Walk.func1 + | | : + | | testing.tRunner + | | : + | | runtime.goexit + | | : + | Wraps: (2) outerthree + | | outerfour + | Error types: (1) *withstack.withStack (2) *errutil.leafError +Wraps: (2) attached stack trace + -- stack trace: + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (3) new-style ‹innerone› + | ‹innertwo› Error types: (1) *secondary.withSecondaryError (2) *withstack.withStack (3) *errutil.leafError -== %#v via Formattable() = %#v, good -== %v via Formattable() = Error(), good -== %s via Formattable() = %v via Formattable(), good -== %q via Formattable() = quoted %v via Formattable(), good -== %+v via Formattable() == %+v, good ===== -===== redactable formats +===== Sentry reporting ===== -== printed via redact Print(), ok - congruent with %v -new-style ‹innerone› -‹innertwo› -== printed via redact Printf() %v = Print(), good -== printed via redact Printf() %s = Print(), good -== printed via redact Printf() %q, refused - good -== printed via redact Printf() %x, refused - good -== printed via redact Printf() %X, refused - good -== printed via redact Printf() %+v, ok - congruent with %+v -new-style ‹innerone› +== Message payload +:: new-style × (1) secondary error attachment | outerthree | (1) attached stack trace @@ -5676,60 +6442,20 @@ Wraps: (2) attached stack trace | : | runtime.goexit | : -Wraps: (3) new-style ‹innerone› - | ‹innertwo› +Wraps: (3) new-style × + | × Error types: (1) *secondary.withSecondaryError (2) *withstack.withStack (3) *errutil.leafError -===== -===== Sentry reporting -===== -== Message payload -:: new-style × -× --- -*errutil.leafError: new-style × (1) +-- report composition: +*errutil.leafError: new-style × :: *withstack.withStack (top exception) -*secondary.withSecondaryError: details for github.com/cockroachdb/errors/withstack/*withstack.withStack::: (2) -(check the extra data payloads) -== Extra "1: details" -new-style × - × -== Extra "2: details" -details for github.com/cockroachdb/errors/withstack/*withstack.withStack::: - - github.com/cockroachdb/errors/fmttests.glob...funcNN... - : - github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 - : - github.com/cockroachdb/datadriven.runDirective.func1 - : - github.com/cockroachdb/datadriven.runDirective - : - github.com/cockroachdb/datadriven.runDirectiveOrSubTest - : - github.com/cockroachdb/datadriven.runTestInternal - : - github.com/cockroachdb/datadriven.RunTest - : - github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 - : - github.com/cockroachdb/datadriven.Walk - : - github.com/cockroachdb/datadriven.Walk.func1 - : - testing.tRunner - : - runtime.goexit - : -details for github.com/cockroachdb/errors/errutil/*errutil.leafError::: - outerthree - outerfour +*secondary.withSecondaryError: details for github.com/cockroachdb/errors/withstack/*withstack.withStack::: == Extra "error types" github.com/cockroachdb/errors/errutil/*errutil.leafError (*::) github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) github.com/cockroachdb/errors/secondary/*secondary.withSecondaryError (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errutil.leafError: new-style ×\n×\nvia *withstack.withStack" +Title: "*errutil.leafError: new-style ×\nvia *withstack.withStack" :: (runtime) goexit() :: @@ -5754,8 +6480,6 @@ Title: "*errutil.leafError: new-style ×\n×\nvia *withstack.withStack" (github.com/cockroachdb/errors/fmttests.TestDatadriven.func2) 1() :: (github.com/cockroachdb/errors/fmttests.glob.)...funcNN... ----- ----- run newf innerone innertwo @@ -5882,21 +6606,51 @@ Error types: (1) *withstack.withStack (2) *withstack.withStack (3) *errutil.leaf ===== == Message payload :: new-style × -× --- -*errutil.leafError: new-style × (1) +(1) attached stack trace + -- stack trace: + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | [...repeated from below...] +Wraps: (2) attached stack trace + -- stack trace: + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (3) new-style × + | × +Error types: (1) *withstack.withStack (2) *withstack.withStack (3) *errutil.leafError +-- report composition: +*errutil.leafError: new-style × :: *withstack.withStack (top exception) -:: *withstack.withStack (2) +:: *withstack.withStack (1) (check the extra data payloads) -== Extra "1: details" -new-style × - × == Extra "error types" github.com/cockroachdb/errors/errutil/*errutil.leafError (*::) github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) == Exception 1 (Module: "error domain: ") -Type: "(2) : ...funcNN... +Type: "(1) : ...funcNN... Title: "*withstack.withStack" :: (runtime) goexit() @@ -5924,7 +6678,7 @@ Title: "*withstack.withStack" (github.com/cockroachdb/errors/fmttests.glob.)...funcNN... == Exception 2 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errutil.leafError: new-style ×\n×\nvia *withstack.withStack" +Title: "*errutil.leafError: new-style ×\nvia *withstack.withStack" :: (runtime) goexit() :: @@ -6123,25 +6877,47 @@ Error types: (1) *contexttags.withContext (2) *withstack.withStack (3) *errutil. ===== == Message payload :: new-style × -× --- -*errutil.leafError: new-style × (1) +(1) tags: [k×,safe=456] +Wraps: (2) attached stack trace + -- stack trace: + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (3) new-style × + | × +Error types: (1) *contexttags.withContext (2) *withstack.withStack (3) *errutil.leafError +-- report composition: +*errutil.leafError: new-style × :: *withstack.withStack (top exception) -*contexttags.withContext: k× (2) -(check the extra data payloads) -== Extra "1: details" -new-style × - × -== Extra "2: details" -k× -safe=456 +*contexttags.withContext: k× == Extra "error types" github.com/cockroachdb/errors/errutil/*errutil.leafError (*::) github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) github.com/cockroachdb/errors/contexttags/*contexttags.withContext (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errutil.leafError: new-style ×\n×\nvia *withstack.withStack" +Title: "*errutil.leafError: new-style ×\nvia *withstack.withStack" :: (runtime) goexit() :: @@ -6286,26 +7062,48 @@ Error types: (1) *telemetrykeys.withTelemetry (2) *withstack.withStack (3) *erru ===== == Message payload :: new-style × -× --- -*errutil.leafError: new-style × (1) +(1) keys: [somekey outerthree + | outerfour] +Wraps: (2) attached stack trace + -- stack trace: + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (3) new-style × + | × +Error types: (1) *telemetrykeys.withTelemetry (2) *withstack.withStack (3) *errutil.leafError +-- report composition: +*errutil.leafError: new-style × :: *withstack.withStack (top exception) -*telemetrykeys.withTelemetry: somekey (2) -(check the extra data payloads) -== Extra "1: details" -new-style × - × -== Extra "2: details" -somekey -outerthree - outerfour +*telemetrykeys.withTelemetry: somekey == Extra "error types" github.com/cockroachdb/errors/errutil/*errutil.leafError (*::) github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) github.com/cockroachdb/errors/telemetrykeys/*telemetrykeys.withTelemetry (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errutil.leafError: new-style ×\n×\nvia *withstack.withStack" +Title: "*errutil.leafError: new-style ×\nvia *withstack.withStack" :: (runtime) goexit() :: @@ -6467,28 +7265,56 @@ Error types: (1) *withstack.withStack (2) *errutil.withPrefix (3) *withstack.wit ===== Sentry reporting ===== == Message payload -:: new-stylew × -×: new-style × -× --- -*errutil.leafError: new-style × (1) +:: new-stylew ×: new-style × +(1) attached stack trace + -- stack trace: + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | [...repeated from below...] +Wraps: (2) new-stylew × + | × +Wraps: (3) attached stack trace + -- stack trace: + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (4) new-style × + | × +Error types: (1) *withstack.withStack (2) *errutil.withPrefix (3) *withstack.withStack (4) *errutil.leafError +-- report composition: +*errutil.leafError: new-style × :: *withstack.withStack (top exception) -*errutil.withPrefix: new-stylew × (2) -:: *withstack.withStack (3) +*errutil.withPrefix: new-stylew × +:: *withstack.withStack (1) (check the extra data payloads) -== Extra "1: details" -new-style × - × -== Extra "2: details" -new-stylew × - × == Extra "error types" github.com/cockroachdb/errors/errutil/*errutil.leafError (*::) github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) github.com/cockroachdb/errors/errutil/*errutil.withPrefix (*::) github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) == Exception 1 (Module: "error domain: ") -Type: "(3) : ...funcNN... +Type: "(1) : ...funcNN... Title: "*withstack.withStack" :: (runtime) goexit() @@ -6516,7 +7342,7 @@ Title: "*withstack.withStack" (github.com/cockroachdb/errors/fmttests.glob.)...funcNN... == Exception 2 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errutil.leafError: new-stylew ×\n×: new-style ×\n×\nvia *withstack.withStack" +Title: "*errutil.leafError: new-stylew ×: new-style ×\nvia *withstack.withStack" :: (runtime) goexit() :: @@ -6548,7 +7374,6 @@ wrapf-attached outerthree outerfour require (?s)outerthree.*outerfour.* ---- ----- &withstack.withStack{ cause: &secondary.withSecondaryError{ cause: &errutil.withPrefix{ @@ -6751,51 +7576,80 @@ Error types: (1) *withstack.withStack (2) *secondary.withSecondaryError (3) *err ===== Sentry reporting ===== == Message payload -:: new-style × -× (payload): new-style × -× --- -*errutil.leafError: new-style × (1) +:: new-style ×: new-style × +(1) attached stack trace + -- stack trace: + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | [...repeated from below...] +Wraps: (2) secondary error attachment + | payload + | (1) attached stack trace + | -- stack trace: + | | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | | : + | | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | | : + | | github.com/cockroachdb/datadriven.runDirective.func1 + | | : + | | github.com/cockroachdb/datadriven.runDirective + | | : + | | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | | : + | | github.com/cockroachdb/datadriven.runTestInternal + | | : + | | github.com/cockroachdb/datadriven.RunTest + | | : + | | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | | : + | | github.com/cockroachdb/datadriven.Walk + | | : + | | github.com/cockroachdb/datadriven.Walk.func1 + | | : + | | testing.tRunner + | | : + | | runtime.goexit + | | : + | Wraps: (2) payload + | Error types: (1) *withstack.withStack (2) *errutil.leafError +Wraps: (3) new-style × + | × (payload) +Wraps: (4) attached stack trace + -- stack trace: + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (5) new-style × + | × +Error types: (1) *withstack.withStack (2) *secondary.withSecondaryError (3) *errutil.withPrefix (4) *withstack.withStack (5) *errutil.leafError +-- report composition: +*errutil.leafError: new-style × :: *withstack.withStack (top exception) -*errutil.withPrefix: new-style × (2) -*secondary.withSecondaryError: details for github.com/cockroachdb/errors/withstack/*withstack.withStack::: (3) -:: *withstack.withStack (4) +*errutil.withPrefix: new-style × +*secondary.withSecondaryError: details for github.com/cockroachdb/errors/withstack/*withstack.withStack::: +:: *withstack.withStack (1) (check the extra data payloads) -== Extra "1: details" -new-style × - × -== Extra "2: details" -new-style × - × (payload) -== Extra "3: details" -details for github.com/cockroachdb/errors/withstack/*withstack.withStack::: - - github.com/cockroachdb/errors/fmttests.glob...funcNN... - : - github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 - : - github.com/cockroachdb/datadriven.runDirective.func1 - : - github.com/cockroachdb/datadriven.runDirective - : - github.com/cockroachdb/datadriven.runDirectiveOrSubTest - : - github.com/cockroachdb/datadriven.runTestInternal - : - github.com/cockroachdb/datadriven.RunTest - : - github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 - : - github.com/cockroachdb/datadriven.Walk - : - github.com/cockroachdb/datadriven.Walk.func1 - : - testing.tRunner - : - runtime.goexit - : -details for github.com/cockroachdb/errors/errutil/*errutil.leafError::: - payload == Extra "error types" github.com/cockroachdb/errors/errutil/*errutil.leafError (*::) github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) @@ -6803,7 +7657,7 @@ github.com/cockroachdb/errors/errutil/*errutil.withPrefix (*::) github.com/cockroachdb/errors/secondary/*secondary.withSecondaryError (*::) github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) == Exception 1 (Module: "error domain: ") -Type: "(4) : ...funcNN... +Type: "(1) : ...funcNN... Title: "*withstack.withStack" :: (runtime) goexit() @@ -6831,7 +7685,7 @@ Title: "*withstack.withStack" (github.com/cockroachdb/errors/fmttests.glob.)...funcNN... == Exception 2 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errutil.leafError: new-style ×\n× (payload): new-style ×\n×\nvia *withstack.withStack" +Title: "*errutil.leafError: new-style ×: new-style ×\nvia *withstack.withStack" :: (runtime) goexit() :: @@ -6856,5 +7710,3 @@ Title: "*errutil.leafError: new-style ×\n× (payload): new-style ×\n×\nvia *w (github.com/cockroachdb/errors/fmttests.TestDatadriven.func2) 1() :: (github.com/cockroachdb/errors/fmttests.glob.)...funcNN... ----- ----- diff --git a/fmttests/testdata/format/wrap-newf-via-network b/fmttests/testdata/format/wrap-newf-via-network index f5d0c3d..fa439f5 100644 --- a/fmttests/testdata/format/wrap-newf-via-network +++ b/fmttests/testdata/format/wrap-newf-via-network @@ -5,11 +5,10 @@ opaque require (?s)innerone.*innertwo ---- ----- &assert.withAssertionFailure{ cause: &errbase.opaqueWrapper{ - cause: &barriers.barrierError{ - msg: "new-style innerone\ninnertwo", + cause: &barriers.barrierErr{ + smsg: "new-style ‹innerone›\n‹innertwo›", maskedErr: &errbase.opaqueWrapper{ cause: &errutil.leafError{msg:"new-style ‹innerone›\n‹innertwo›"}, prefix: "", @@ -36,8 +35,8 @@ require (?s)innerone.*innertwo == %#v &assert.withAssertionFailure{ cause: &errbase.opaqueWrapper{ - cause: &barriers.barrierError{ - msg: "new-style innerone\ninnertwo", + cause: &barriers.barrierErr{ + smsg: "new-style ‹innerone›\n‹innertwo›", maskedErr: &errbase.opaqueWrapper{ cause: &errutil.leafError{msg:"new-style ‹innerone›\n‹innertwo›"}, prefix: "", @@ -134,7 +133,7 @@ Wraps: (3) new-style innerone | Wraps: (2) new-style innerone | | innertwo | Error types: (1) *errbase.opaqueWrapper (2) *errutil.leafError -Error types: (1) *assert.withAssertionFailure (2) *errbase.opaqueWrapper (3) *barriers.barrierError +Error types: (1) *assert.withAssertionFailure (2) *errbase.opaqueWrapper (3) *barriers.barrierErr == %#v via Formattable() = %#v, good == %v via Formattable() = Error(), good == %s via Formattable() = %v via Formattable(), good @@ -144,7 +143,7 @@ Error types: (1) *assert.withAssertionFailure (2) *errbase.opaqueWrapper (3) *ba ===== redactable formats ===== == printed via redact Print(), ok - congruent with %v -‹new-style innerone› +new-style ‹innerone› ‹innertwo› == printed via redact Printf() %v = Print(), good == printed via redact Printf() %s = Print(), good @@ -152,7 +151,7 @@ Error types: (1) *assert.withAssertionFailure (2) *errbase.opaqueWrapper (3) *ba == printed via redact Printf() %x, refused - good == printed via redact Printf() %X, refused - good == printed via redact Printf() %+v, ok - congruent with %+v -‹new-style innerone› +new-style ‹innerone› (1) assertion failure Wraps: (2) | (opaque error wrapper) @@ -183,7 +182,7 @@ Wraps: (2) | : | runtime.goexit | : -Wraps: (3) ‹new-style innerone› +Wraps: (3) new-style ‹innerone› | ‹innertwo› | -- cause hidden behind barrier | new-style ‹innerone› @@ -219,55 +218,90 @@ Wraps: (3) ‹new-style innerone› | Wraps: (2) new-style ‹innerone› | | ‹innertwo› | Error types: (1) *errbase.opaqueWrapper (2) *errutil.leafError -Error types: (1) *assert.withAssertionFailure (2) *errbase.opaqueWrapper (3) *barriers.barrierError +Error types: (1) *assert.withAssertionFailure (2) *errbase.opaqueWrapper (3) *barriers.barrierErr ===== ===== Sentry reporting ===== == Message payload -:: × -× --- -*barriers.barrierError: details for github.com/cockroachdb/errors/withstack/*withstack.withStack::: (1) +:: new-style × +(1) assertion failure +Wraps: (2) + | (opaque error wrapper) + | type name: github.com/cockroachdb/errors/withstack/*withstack.withStack + | reportable 0: + | + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (3) new-style × + | × + | -- cause hidden behind barrier + | new-style × + | (1) + | | (opaque error wrapper) + | | type name: github.com/cockroachdb/errors/withstack/*withstack.withStack + | | reportable 0: + | | + | | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | | : + | | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | | : + | | github.com/cockroachdb/datadriven.runDirective.func1 + | | : + | | github.com/cockroachdb/datadriven.runDirective + | | : + | | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | | : + | | github.com/cockroachdb/datadriven.runTestInternal + | | : + | | github.com/cockroachdb/datadriven.RunTest + | | : + | | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | | : + | | github.com/cockroachdb/datadriven.Walk + | | : + | | github.com/cockroachdb/datadriven.Walk.func1 + | | : + | | testing.tRunner + | | : + | | runtime.goexit + | | : + | Wraps: (2) new-style × + | | × + | Error types: (1) *errbase.opaqueWrapper (2) *errutil.leafError +Error types: (1) *assert.withAssertionFailure (2) *errbase.opaqueWrapper (3) *barriers.barrierErr +-- report composition: +*barriers.barrierErr: details for github.com/cockroachdb/errors/withstack/*withstack.withStack::: :: *withstack.withStack (top exception) *assert.withAssertionFailure -(check the extra data payloads) -== Extra "1: details" -details for github.com/cockroachdb/errors/withstack/*withstack.withStack::: - - github.com/cockroachdb/errors/fmttests.glob...funcNN... - : - github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 - : - github.com/cockroachdb/datadriven.runDirective.func1 - : - github.com/cockroachdb/datadriven.runDirective - : - github.com/cockroachdb/datadriven.runDirectiveOrSubTest - : - github.com/cockroachdb/datadriven.runTestInternal - : - github.com/cockroachdb/datadriven.RunTest - : - github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 - : - github.com/cockroachdb/datadriven.Walk - : - github.com/cockroachdb/datadriven.Walk.func1 - : - testing.tRunner - : - runtime.goexit - : -details for github.com/cockroachdb/errors/errutil/*errutil.leafError::: - new-style × - × == Extra "error types" -github.com/cockroachdb/errors/barriers/*barriers.barrierError (*::) +github.com/cockroachdb/errors/barriers/*barriers.barrierErr (*::) github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) github.com/cockroachdb/errors/assert/*assert.withAssertionFailure (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*barriers.barrierError: ×\n×\nvia *withstack.withStack" +Title: "*barriers.barrierErr: new-style ×\nvia *withstack.withStack" :: (runtime) goexit() :: @@ -292,8 +326,6 @@ Title: "*barriers.barrierError: ×\n×\nvia *withstack.withStack" (github.com/cockroachdb/errors/fmttests.TestDatadriven.func2) 1() :: (github.com/cockroachdb/errors/fmttests.glob.)...funcNN... ----- ----- run newf innerone innertwo @@ -302,12 +334,11 @@ opaque require (?s)outerthree.*outerfour.*innerone.*innertwo ---- ----- &assert.withAssertionFailure{ cause: &errbase.opaqueWrapper{ cause: &errutil.withPrefix{ - cause: &barriers.barrierError{ - msg: "new-style innerone\ninnertwo", + cause: &barriers.barrierErr{ + smsg: "new-style ‹innerone›\n‹innertwo›", maskedErr: &errbase.opaqueWrapper{ cause: &errutil.leafError{msg:"new-style ‹innerone›\n‹innertwo›"}, prefix: "", @@ -337,8 +368,8 @@ require (?s)outerthree.*outerfour.*innerone.*innertwo &assert.withAssertionFailure{ cause: &errbase.opaqueWrapper{ cause: &errutil.withPrefix{ - cause: &barriers.barrierError{ - msg: "new-style innerone\ninnertwo", + cause: &barriers.barrierErr{ + smsg: "new-style ‹innerone›\n‹innertwo›", maskedErr: &errbase.opaqueWrapper{ cause: &errutil.leafError{msg:"new-style ‹innerone›\n‹innertwo›"}, prefix: "", @@ -440,7 +471,7 @@ Wraps: (4) new-style innerone | Wraps: (2) new-style innerone | | innertwo | Error types: (1) *errbase.opaqueWrapper (2) *errutil.leafError -Error types: (1) *assert.withAssertionFailure (2) *errbase.opaqueWrapper (3) *errutil.withPrefix (4) *barriers.barrierError +Error types: (1) *assert.withAssertionFailure (2) *errbase.opaqueWrapper (3) *errutil.withPrefix (4) *barriers.barrierErr == %#v via Formattable() = %#v, good == %v via Formattable() = Error(), good == %s via Formattable() = %v via Formattable(), good @@ -451,7 +482,7 @@ Error types: (1) *assert.withAssertionFailure (2) *errbase.opaqueWrapper (3) *er ===== == printed via redact Print(), ok - congruent with %v assertmsg: ‹outerthree› -‹outerfour›: ‹new-style innerone› +‹outerfour›: new-style ‹innerone› ‹innertwo› == printed via redact Printf() %v = Print(), good == printed via redact Printf() %s = Print(), good @@ -459,7 +490,7 @@ assertmsg: ‹outerthree› == printed via redact Printf() %x, refused - good == printed via redact Printf() %X, refused - good == printed via redact Printf() %+v, ok - congruent with %+v -assertmsg: ‹outerthree›: ‹new-style innerone› +assertmsg: ‹outerthree›: new-style ‹innerone› (1) assertion failure Wraps: (2) | (opaque error wrapper) @@ -492,7 +523,7 @@ Wraps: (2) | : Wraps: (3) assertmsg: ‹outerthree› | ‹outerfour› -Wraps: (4) ‹new-style innerone› +Wraps: (4) new-style ‹innerone› | ‹innertwo› | -- cause hidden behind barrier | new-style ‹innerone› @@ -528,61 +559,94 @@ Wraps: (4) ‹new-style innerone› | Wraps: (2) new-style ‹innerone› | | ‹innertwo› | Error types: (1) *errbase.opaqueWrapper (2) *errutil.leafError -Error types: (1) *assert.withAssertionFailure (2) *errbase.opaqueWrapper (3) *errutil.withPrefix (4) *barriers.barrierError +Error types: (1) *assert.withAssertionFailure (2) *errbase.opaqueWrapper (3) *errutil.withPrefix (4) *barriers.barrierErr ===== ===== Sentry reporting ===== == Message payload -:: assertmsg: × -×: × -× --- -*barriers.barrierError: details for github.com/cockroachdb/errors/withstack/*withstack.withStack::: (1) -*errutil.withPrefix: assertmsg: × (2) +:: assertmsg: ×: new-style × +(1) assertion failure +Wraps: (2) + | (opaque error wrapper) + | type name: github.com/cockroachdb/errors/withstack/*withstack.withStack + | reportable 0: + | + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (3) assertmsg: × + | × +Wraps: (4) new-style × + | × + | -- cause hidden behind barrier + | new-style × + | (1) + | | (opaque error wrapper) + | | type name: github.com/cockroachdb/errors/withstack/*withstack.withStack + | | reportable 0: + | | + | | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | | : + | | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | | : + | | github.com/cockroachdb/datadriven.runDirective.func1 + | | : + | | github.com/cockroachdb/datadriven.runDirective + | | : + | | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | | : + | | github.com/cockroachdb/datadriven.runTestInternal + | | : + | | github.com/cockroachdb/datadriven.RunTest + | | : + | | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | | : + | | github.com/cockroachdb/datadriven.Walk + | | : + | | github.com/cockroachdb/datadriven.Walk.func1 + | | : + | | testing.tRunner + | | : + | | runtime.goexit + | | : + | Wraps: (2) new-style × + | | × + | Error types: (1) *errbase.opaqueWrapper (2) *errutil.leafError +Error types: (1) *assert.withAssertionFailure (2) *errbase.opaqueWrapper (3) *errutil.withPrefix (4) *barriers.barrierErr +-- report composition: +*barriers.barrierErr: details for github.com/cockroachdb/errors/withstack/*withstack.withStack::: +*errutil.withPrefix: assertmsg: × :: *withstack.withStack (top exception) *assert.withAssertionFailure -(check the extra data payloads) -== Extra "1: details" -details for github.com/cockroachdb/errors/withstack/*withstack.withStack::: - - github.com/cockroachdb/errors/fmttests.glob...funcNN... - : - github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 - : - github.com/cockroachdb/datadriven.runDirective.func1 - : - github.com/cockroachdb/datadriven.runDirective - : - github.com/cockroachdb/datadriven.runDirectiveOrSubTest - : - github.com/cockroachdb/datadriven.runTestInternal - : - github.com/cockroachdb/datadriven.RunTest - : - github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 - : - github.com/cockroachdb/datadriven.Walk - : - github.com/cockroachdb/datadriven.Walk.func1 - : - testing.tRunner - : - runtime.goexit - : -details for github.com/cockroachdb/errors/errutil/*errutil.leafError::: - new-style × - × -== Extra "2: details" -assertmsg: × - × == Extra "error types" -github.com/cockroachdb/errors/barriers/*barriers.barrierError (*::) +github.com/cockroachdb/errors/barriers/*barriers.barrierErr (*::) github.com/cockroachdb/errors/errutil/*errutil.withPrefix (*::) github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) github.com/cockroachdb/errors/assert/*assert.withAssertionFailure (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*barriers.barrierError: assertmsg: ×\n×: ×\n×\nvia *withstack.withStack" +Title: "*barriers.barrierErr: assertmsg: ×: new-style ×\nvia *withstack.withStack" :: (runtime) goexit() :: @@ -607,8 +671,6 @@ Title: "*barriers.barrierError: assertmsg: ×\n×: ×\n×\nvia *withstack.withSt (github.com/cockroachdb/errors/fmttests.TestDatadriven.func2) 1() :: (github.com/cockroachdb/errors/fmttests.glob.)...funcNN... ----- ----- run newf innerone innertwo @@ -617,9 +679,8 @@ opaque require (?s)innerone.*innertwo ---- ----- -&barriers.barrierError{ - msg: "new-style innerone\ninnertwo", +&barriers.barrierErr{ + smsg: "new-style ‹innerone›\n‹innertwo›", maskedErr: &errbase.opaqueWrapper{ cause: &errutil.leafError{msg:"new-style ‹innerone›\n‹innertwo›"}, prefix: "", @@ -635,8 +696,8 @@ require (?s)innerone.*innertwo ===== non-redactable formats ===== == %#v -&barriers.barrierError{ - msg: "new-style innerone\ninnertwo", +&barriers.barrierErr{ + smsg: "new-style ‹innerone›\n‹innertwo›", maskedErr: &errbase.opaqueWrapper{ cause: &errutil.leafError{msg:"new-style ‹innerone›\n‹innertwo›"}, prefix: "", @@ -694,7 +755,7 @@ new-style innerone | Wraps: (2) new-style innerone | | innertwo | Error types: (1) *errbase.opaqueWrapper (2) *errutil.leafError -Error types: (1) *barriers.barrierError +Error types: (1) *barriers.barrierErr == %#v via Formattable() = %#v, good == %v via Formattable() = Error(), good == %s via Formattable() = %v via Formattable(), good @@ -704,7 +765,7 @@ Error types: (1) *barriers.barrierError ===== redactable formats ===== == printed via redact Print(), ok - congruent with %v -‹new-style innerone› +new-style ‹innerone› ‹innertwo› == printed via redact Printf() %v = Print(), good == printed via redact Printf() %s = Print(), good @@ -712,8 +773,8 @@ Error types: (1) *barriers.barrierError == printed via redact Printf() %x, refused - good == printed via redact Printf() %X, refused - good == printed via redact Printf() %+v, ok - congruent with %+v -‹new-style innerone› -(1) ‹new-style innerone› +new-style ‹innerone› +(1) new-style ‹innerone› | ‹innertwo› | -- cause hidden behind barrier | new-style ‹innerone› @@ -749,54 +810,57 @@ Error types: (1) *barriers.barrierError | Wraps: (2) new-style ‹innerone› | | ‹innertwo› | Error types: (1) *errbase.opaqueWrapper (2) *errutil.leafError -Error types: (1) *barriers.barrierError +Error types: (1) *barriers.barrierErr ===== ===== Sentry reporting ===== == Message payload -× -× --- -*barriers.barrierError: details for github.com/cockroachdb/errors/withstack/*withstack.withStack::: (1) -(check the extra data payloads) -== Extra "1: details" -details for github.com/cockroachdb/errors/withstack/*withstack.withStack::: - - github.com/cockroachdb/errors/fmttests.glob...funcNN... - : - github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 - : - github.com/cockroachdb/datadriven.runDirective.func1 - : - github.com/cockroachdb/datadriven.runDirective - : - github.com/cockroachdb/datadriven.runDirectiveOrSubTest - : - github.com/cockroachdb/datadriven.runTestInternal - : - github.com/cockroachdb/datadriven.RunTest - : - github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 - : - github.com/cockroachdb/datadriven.Walk - : - github.com/cockroachdb/datadriven.Walk.func1 - : - testing.tRunner - : - runtime.goexit - : -details for github.com/cockroachdb/errors/errutil/*errutil.leafError::: - new-style × - × +new-style × +(1) new-style × + | × + | -- cause hidden behind barrier + | new-style × + | (1) + | | (opaque error wrapper) + | | type name: github.com/cockroachdb/errors/withstack/*withstack.withStack + | | reportable 0: + | | + | | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | | : + | | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | | : + | | github.com/cockroachdb/datadriven.runDirective.func1 + | | : + | | github.com/cockroachdb/datadriven.runDirective + | | : + | | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | | : + | | github.com/cockroachdb/datadriven.runTestInternal + | | : + | | github.com/cockroachdb/datadriven.RunTest + | | : + | | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | | : + | | github.com/cockroachdb/datadriven.Walk + | | : + | | github.com/cockroachdb/datadriven.Walk.func1 + | | : + | | testing.tRunner + | | : + | | runtime.goexit + | | : + | Wraps: (2) new-style × + | | × + | Error types: (1) *errbase.opaqueWrapper (2) *errutil.leafError +Error types: (1) *barriers.barrierErr +-- report composition: +*barriers.barrierErr: details for github.com/cockroachdb/errors/withstack/*withstack.withStack::: == Extra "error types" -github.com/cockroachdb/errors/barriers/*barriers.barrierError (*::) +github.com/cockroachdb/errors/barriers/*barriers.barrierErr (*::) == Exception 1 (Module: "error domain: ") -Type: "*barriers.barrierError" -Title: "×\n×" +Type: "*barriers.barrierErr" +Title: "new-style ×" (NO STACKTRACE) ----- ----- run newf innerone innertwo @@ -955,24 +1019,55 @@ Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueWrapper (3) *errutil. ===== Sentry reporting ===== == Message payload -:: × -×: new-style × -× --- -*errutil.leafError: new-style × (1) +:: ×: new-style × +(1) × + | × + | + | (opaque error wrapper) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.werrDelegate +Wraps: (2) + | (opaque error wrapper) + | type name: github.com/cockroachdb/errors/withstack/*withstack.withStack + | reportable 0: + | + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (3) new-style × + | × +Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueWrapper (3) *errutil.leafError +-- report composition: +*errutil.leafError: new-style × :: *withstack.withStack (top exception) *fmttests.werrDelegate -(check the extra data payloads) -== Extra "1: details" -new-style × - × == Extra "error types" github.com/cockroachdb/errors/errutil/*errutil.leafError (*::) github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) github.com/cockroachdb/errors/fmttests/*fmttests.werrDelegate (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errutil.leafError: ×\n×: new-style ×\n×\nvia *withstack.withStack" +Title: "*errutil.leafError: ×: new-style ×\nvia *withstack.withStack" :: (runtime) goexit() :: @@ -1150,44 +1245,74 @@ Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueWrapper (3) *errutil. ===== == Message payload :: new-style × -× --- -*errutil.leafError: new-style × (1) -:: *withstack.withStack (top exception) -*fmttests.werrDelegateEmpty -(check the extra data payloads) -== Extra "1: details" -new-style × - × -== Extra "error types" -github.com/cockroachdb/errors/errutil/*errutil.leafError (*::) -github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) -github.com/cockroachdb/errors/fmttests/*fmttests.werrDelegateEmpty (*::) -== Exception 1 (Module: "error domain: ") -Type: ": ...funcNN... -Title: "*errutil.leafError: new-style ×\n×\nvia *withstack.withStack" -:: - (runtime) goexit() -:: - (testing) tRunner() -:: - (github.com/cockroachdb/datadriven.Walk)...funcNN... -:: - (github.com/cockroachdb/datadriven) Walk() -:: - (github.com/cockroachdb/errors/fmttests.TestDatadriven)...funcNN... -:: - (github.com/cockroachdb/datadriven) RunTest() -:: - (github.com/cockroachdb/datadriven) runTestInternal() -:: - (github.com/cockroachdb/datadriven) runDirectiveOrSubTest() -:: - (github.com/cockroachdb/datadriven) runDirective() -:: - (github.com/cockroachdb/datadriven.runDirective)...funcNN... -:: - (github.com/cockroachdb/errors/fmttests.TestDatadriven.func2) 1() +(1) + | (opaque error wrapper) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.werrDelegateEmpty +Wraps: (2) + | (opaque error wrapper) + | type name: github.com/cockroachdb/errors/withstack/*withstack.withStack + | reportable 0: + | + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (3) new-style × + | × +Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueWrapper (3) *errutil.leafError +-- report composition: +*errutil.leafError: new-style × +:: *withstack.withStack (top exception) +*fmttests.werrDelegateEmpty +== Extra "error types" +github.com/cockroachdb/errors/errutil/*errutil.leafError (*::) +github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) +github.com/cockroachdb/errors/fmttests/*fmttests.werrDelegateEmpty (*::) +== Exception 1 (Module: "error domain: ") +Type: ": ...funcNN... +Title: "*errutil.leafError: new-style ×\nvia *withstack.withStack" +:: + (runtime) goexit() +:: + (testing) tRunner() +:: + (github.com/cockroachdb/datadriven.Walk)...funcNN... +:: + (github.com/cockroachdb/datadriven) Walk() +:: + (github.com/cockroachdb/errors/fmttests.TestDatadriven)...funcNN... +:: + (github.com/cockroachdb/datadriven) RunTest() +:: + (github.com/cockroachdb/datadriven) runTestInternal() +:: + (github.com/cockroachdb/datadriven) runDirectiveOrSubTest() +:: + (github.com/cockroachdb/datadriven) runDirective() +:: + (github.com/cockroachdb/datadriven.runDirective)...funcNN... +:: + (github.com/cockroachdb/errors/fmttests.TestDatadriven.func2) 1() :: (github.com/cockroachdb/errors/fmttests.glob.)...funcNN... @@ -1343,22 +1468,52 @@ Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueWrapper (3) *errutil. ===== == Message payload :: new-style × -× --- -*errutil.leafError: new-style × (1) +(1) + | (opaque error wrapper) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.werrDelegateNoPrefix +Wraps: (2) + | (opaque error wrapper) + | type name: github.com/cockroachdb/errors/withstack/*withstack.withStack + | reportable 0: + | + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (3) new-style × + | × +Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueWrapper (3) *errutil.leafError +-- report composition: +*errutil.leafError: new-style × :: *withstack.withStack (top exception) *fmttests.werrDelegateNoPrefix -(check the extra data payloads) -== Extra "1: details" -new-style × - × == Extra "error types" github.com/cockroachdb/errors/errutil/*errutil.leafError (*::) github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) github.com/cockroachdb/errors/fmttests/*fmttests.werrDelegateNoPrefix (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errutil.leafError: new-style ×\n×\nvia *withstack.withStack" +Title: "*errutil.leafError: new-style ×\nvia *withstack.withStack" :: (runtime) goexit() :: @@ -1522,22 +1677,51 @@ Error types: (1) *hintdetail.withDetail (2) *errbase.opaqueWrapper (3) *errutil. ===== == Message payload :: new-style × +(1) × × --- -*errutil.leafError: new-style × (1) +Wraps: (2) + | (opaque error wrapper) + | type name: github.com/cockroachdb/errors/withstack/*withstack.withStack + | reportable 0: + | + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (3) new-style × + | × +Error types: (1) *hintdetail.withDetail (2) *errbase.opaqueWrapper (3) *errutil.leafError +-- report composition: +*errutil.leafError: new-style × :: *withstack.withStack (top exception) *hintdetail.withDetail -(check the extra data payloads) -== Extra "1: details" -new-style × - × == Extra "error types" github.com/cockroachdb/errors/errutil/*errutil.leafError (*::) github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) github.com/cockroachdb/errors/hintdetail/*hintdetail.withDetail (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errutil.leafError: new-style ×\n×\nvia *withstack.withStack" +Title: "*errutil.leafError: new-style ×\nvia *withstack.withStack" :: (runtime) goexit() :: @@ -1699,24 +1883,50 @@ Error types: (1) *domains.withDomain (2) *errbase.opaqueWrapper (3) *errutil.lea ===== == Message payload :: new-style × -× --- -*errutil.leafError: new-style × (1) +(1) mydomain +Wraps: (2) + | (opaque error wrapper) + | type name: github.com/cockroachdb/errors/withstack/*withstack.withStack + | reportable 0: + | + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (3) new-style × + | × +Error types: (1) *domains.withDomain (2) *errbase.opaqueWrapper (3) *errutil.leafError +-- report composition: +*errutil.leafError: new-style × :: *withstack.withStack (top exception) -*domains.withDomain: mydomain (2) -(check the extra data payloads) -== Extra "1: details" -new-style × - × -== Extra "2: details" -mydomain +*domains.withDomain: mydomain == Extra "error types" github.com/cockroachdb/errors/errutil/*errutil.leafError (*::) github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) github.com/cockroachdb/errors/domains/*domains.withDomain (*::mydomain) == Exception 1 (Module: "mydomain") Type: ": ...funcNN... -Title: "*errutil.leafError: new-style ×\n×\nvia *withstack.withStack" +Title: "*errutil.leafError: new-style ×\nvia *withstack.withStack" :: (runtime) goexit() :: @@ -1880,22 +2090,51 @@ Error types: (1) *fmttests.werrWithElidedCause (2) *errbase.opaqueWrapper (3) *e ===== == Message payload :: × +(1) ×× × --- -*errutil.leafError: new-style × (1) +Wraps: (2) + | (opaque error wrapper) + | type name: github.com/cockroachdb/errors/withstack/*withstack.withStack + | reportable 0: + | + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (3) new-style × + | × +Error types: (1) *fmttests.werrWithElidedCause (2) *errbase.opaqueWrapper (3) *errutil.leafError +-- report composition: +*errutil.leafError: new-style × :: *withstack.withStack (top exception) *fmttests.werrWithElidedCause -(check the extra data payloads) -== Extra "1: details" -new-style × - × == Extra "error types" github.com/cockroachdb/errors/errutil/*errutil.leafError (*::) github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) github.com/cockroachdb/errors/fmttests/*fmttests.werrWithElidedCause (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errutil.leafError: ×\n×\nvia *withstack.withStack" +Title: "*errutil.leafError: ×\nvia *withstack.withStack" :: (runtime) goexit() :: @@ -2073,22 +2312,52 @@ Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueWrapper (3) *errutil. ===== == Message payload :: new-style × -× --- -*errutil.leafError: new-style × (1) +(1) + | (opaque error wrapper) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.werrEmpty +Wraps: (2) + | (opaque error wrapper) + | type name: github.com/cockroachdb/errors/withstack/*withstack.withStack + | reportable 0: + | + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (3) new-style × + | × +Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueWrapper (3) *errutil.leafError +-- report composition: +*errutil.leafError: new-style × :: *withstack.withStack (top exception) *fmttests.werrEmpty -(check the extra data payloads) -== Extra "1: details" -new-style × - × == Extra "error types" github.com/cockroachdb/errors/errutil/*errutil.leafError (*::) github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) github.com/cockroachdb/errors/fmttests/*fmttests.werrEmpty (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errutil.leafError: new-style ×\n×\nvia *withstack.withStack" +Title: "*errutil.leafError: new-style ×\nvia *withstack.withStack" :: (runtime) goexit() :: @@ -2271,29 +2540,60 @@ Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueWrapper (3) *errutil. ===== Sentry reporting ===== == Message payload -:: × -×: new-style × -× --- -*errutil.leafError: new-style × (1) -:: *withstack.withStack (top exception) -*fmttests.werrFmt -(check the extra data payloads) -== Extra "1: details" -new-style × - × -== Extra "error types" -github.com/cockroachdb/errors/errutil/*errutil.leafError (*::) -github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) -github.com/cockroachdb/errors/fmttests/*fmttests.werrFmt (*::) -== Exception 1 (Module: "error domain: ") -Type: ": ...funcNN... -Title: "*errutil.leafError: ×\n×: new-style ×\n×\nvia *withstack.withStack" -:: - (runtime) goexit() -:: - (testing) tRunner() -:: +:: ×: new-style × +(1) × + | × + | + | (opaque error wrapper) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.werrFmt +Wraps: (2) + | (opaque error wrapper) + | type name: github.com/cockroachdb/errors/withstack/*withstack.withStack + | reportable 0: + | + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (3) new-style × + | × +Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueWrapper (3) *errutil.leafError +-- report composition: +*errutil.leafError: new-style × +:: *withstack.withStack (top exception) +*fmttests.werrFmt +== Extra "error types" +github.com/cockroachdb/errors/errutil/*errutil.leafError (*::) +github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) +github.com/cockroachdb/errors/fmttests/*fmttests.werrFmt (*::) +== Exception 1 (Module: "error domain: ") +Type: ": ...funcNN... +Title: "*errutil.leafError: ×: new-style ×\nvia *withstack.withStack" +:: + (runtime) goexit() +:: + (testing) tRunner() +:: (github.com/cockroachdb/datadriven.Walk)...funcNN... :: (github.com/cockroachdb/datadriven) Walk() @@ -2474,24 +2774,55 @@ Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueWrapper (3) *errutil. ===== Sentry reporting ===== == Message payload -:: × -×: new-style × -× --- -*errutil.leafError: new-style × (1) +:: ×: new-style × +(1) × + | × + | + | (opaque error wrapper) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.werrFmto +Wraps: (2) + | (opaque error wrapper) + | type name: github.com/cockroachdb/errors/withstack/*withstack.withStack + | reportable 0: + | + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (3) new-style × + | × +Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueWrapper (3) *errutil.leafError +-- report composition: +*errutil.leafError: new-style × :: *withstack.withStack (top exception) *fmttests.werrFmto -(check the extra data payloads) -== Extra "1: details" -new-style × - × == Extra "error types" github.com/cockroachdb/errors/errutil/*errutil.leafError (*::) github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) github.com/cockroachdb/errors/fmttests/*fmttests.werrFmto (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errutil.leafError: ×\n×: new-style ×\n×\nvia *withstack.withStack" +Title: "*errutil.leafError: ×: new-style ×\nvia *withstack.withStack" :: (runtime) goexit() :: @@ -2677,24 +3008,55 @@ Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueWrapper (3) *errutil. ===== Sentry reporting ===== == Message payload -:: × -×: new-style × -× --- -*errutil.leafError: new-style × (1) +:: ×: new-style × +(1) × + | × + | + | (opaque error wrapper) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.werrFmtoDelegate +Wraps: (2) + | (opaque error wrapper) + | type name: github.com/cockroachdb/errors/withstack/*withstack.withStack + | reportable 0: + | + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (3) new-style × + | × +Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueWrapper (3) *errutil.leafError +-- report composition: +*errutil.leafError: new-style × :: *withstack.withStack (top exception) *fmttests.werrFmtoDelegate -(check the extra data payloads) -== Extra "1: details" -new-style × - × == Extra "error types" github.com/cockroachdb/errors/errutil/*errutil.leafError (*::) github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) github.com/cockroachdb/errors/fmttests/*fmttests.werrFmtoDelegate (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errutil.leafError: ×\n×: new-style ×\n×\nvia *withstack.withStack" +Title: "*errutil.leafError: ×: new-style ×\nvia *withstack.withStack" :: (runtime) goexit() :: @@ -2877,24 +3239,55 @@ Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueWrapper (3) *errutil. ===== Sentry reporting ===== == Message payload -:: × -×: new-style × -× --- -*errutil.leafError: new-style × (1) +:: ×: new-style × +(1) × + | × + | + | (opaque error wrapper) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.werrFmtp +Wraps: (2) + | (opaque error wrapper) + | type name: github.com/cockroachdb/errors/withstack/*withstack.withStack + | reportable 0: + | + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (3) new-style × + | × +Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueWrapper (3) *errutil.leafError +-- report composition: +*errutil.leafError: new-style × :: *withstack.withStack (top exception) *fmttests.werrFmtp -(check the extra data payloads) -== Extra "1: details" -new-style × - × == Extra "error types" github.com/cockroachdb/errors/errutil/*errutil.leafError (*::) github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) github.com/cockroachdb/errors/fmttests/*fmttests.werrFmtp (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errutil.leafError: ×\n×: new-style ×\n×\nvia *withstack.withStack" +Title: "*errutil.leafError: ×: new-style ×\nvia *withstack.withStack" :: (runtime) goexit() :: @@ -3080,24 +3473,55 @@ Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueWrapper (3) *errutil. ===== Sentry reporting ===== == Message payload -:: × -×: new-style × -× --- -*errutil.leafError: new-style × (1) +:: ×: new-style × +(1) × + | × + | + | (opaque error wrapper) + | type name: fmt/*fmt.wrapError +Wraps: (2) + | (opaque error wrapper) + | type name: github.com/cockroachdb/errors/withstack/*withstack.withStack + | reportable 0: + | + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (3) new-style × + | × +Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueWrapper (3) *errutil.leafError +-- report composition: +*errutil.leafError: new-style × :: *withstack.withStack (top exception) *fmt.wrapError -(check the extra data payloads) -== Extra "1: details" -new-style × - × == Extra "error types" github.com/cockroachdb/errors/errutil/*errutil.leafError (*::) github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) fmt/*fmt.wrapError (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errutil.leafError: ×\n×: new-style ×\n×\nvia *withstack.withStack" +Title: "*errutil.leafError: ×: new-style ×\nvia *withstack.withStack" :: (runtime) goexit() :: @@ -3130,10 +3554,9 @@ opaque require (?s)innerone.*innertwo ---- ----- &domains.withDomain{ - cause: &barriers.barrierError{ - msg: "new-style innerone\ninnertwo", + cause: &barriers.barrierErr{ + smsg: "new-style ‹innerone›\n‹innertwo›", maskedErr: &errbase.opaqueWrapper{ cause: &errutil.leafError{msg:"new-style ‹innerone›\n‹innertwo›"}, prefix: "", @@ -3152,8 +3575,8 @@ require (?s)innerone.*innertwo ===== == %#v &domains.withDomain{ - cause: &barriers.barrierError{ - msg: "new-style innerone\ninnertwo", + cause: &barriers.barrierErr{ + smsg: "new-style ‹innerone›\n‹innertwo›", maskedErr: &errbase.opaqueWrapper{ cause: &errutil.leafError{msg:"new-style ‹innerone›\n‹innertwo›"}, prefix: "", @@ -3214,7 +3637,7 @@ Wraps: (2) new-style innerone | Wraps: (2) new-style innerone | | innertwo | Error types: (1) *errbase.opaqueWrapper (2) *errutil.leafError -Error types: (1) *domains.withDomain (2) *barriers.barrierError +Error types: (1) *domains.withDomain (2) *barriers.barrierErr == %#v via Formattable() = %#v, good == %v via Formattable() = Error(), good == %s via Formattable() = %v via Formattable(), good @@ -3224,7 +3647,7 @@ Error types: (1) *domains.withDomain (2) *barriers.barrierError ===== redactable formats ===== == printed via redact Print(), ok - congruent with %v -‹new-style innerone› +new-style ‹innerone› ‹innertwo› == printed via redact Printf() %v = Print(), good == printed via redact Printf() %s = Print(), good @@ -3232,9 +3655,9 @@ Error types: (1) *domains.withDomain (2) *barriers.barrierError == printed via redact Printf() %x, refused - good == printed via redact Printf() %X, refused - good == printed via redact Printf() %+v, ok - congruent with %+v -‹new-style innerone› +new-style ‹innerone› (1) error domain: pkg -Wraps: (2) ‹new-style innerone› +Wraps: (2) new-style ‹innerone› | ‹innertwo› | -- cause hidden behind barrier | new-style ‹innerone› @@ -3270,58 +3693,60 @@ Wraps: (2) ‹new-style innerone› | Wraps: (2) new-style ‹innerone› | | ‹innertwo› | Error types: (1) *errbase.opaqueWrapper (2) *errutil.leafError -Error types: (1) *domains.withDomain (2) *barriers.barrierError +Error types: (1) *domains.withDomain (2) *barriers.barrierErr ===== ===== Sentry reporting ===== == Message payload -× -× --- -*barriers.barrierError: details for github.com/cockroachdb/errors/withstack/*withstack.withStack::: (1) -*domains.withDomain: error domain: pkg (2) -(check the extra data payloads) -== Extra "1: details" -details for github.com/cockroachdb/errors/withstack/*withstack.withStack::: - - github.com/cockroachdb/errors/fmttests.glob...funcNN... - : - github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 - : - github.com/cockroachdb/datadriven.runDirective.func1 - : - github.com/cockroachdb/datadriven.runDirective - : - github.com/cockroachdb/datadriven.runDirectiveOrSubTest - : - github.com/cockroachdb/datadriven.runTestInternal - : - github.com/cockroachdb/datadriven.RunTest - : - github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 - : - github.com/cockroachdb/datadriven.Walk - : - github.com/cockroachdb/datadriven.Walk.func1 - : - testing.tRunner - : - runtime.goexit - : -details for github.com/cockroachdb/errors/errutil/*errutil.leafError::: - new-style × - × -== Extra "2: details" -error domain: pkg +new-style × +(1) error domain: pkg +Wraps: (2) new-style × + | × + | -- cause hidden behind barrier + | new-style × + | (1) + | | (opaque error wrapper) + | | type name: github.com/cockroachdb/errors/withstack/*withstack.withStack + | | reportable 0: + | | + | | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | | : + | | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | | : + | | github.com/cockroachdb/datadriven.runDirective.func1 + | | : + | | github.com/cockroachdb/datadriven.runDirective + | | : + | | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | | : + | | github.com/cockroachdb/datadriven.runTestInternal + | | : + | | github.com/cockroachdb/datadriven.RunTest + | | : + | | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | | : + | | github.com/cockroachdb/datadriven.Walk + | | : + | | github.com/cockroachdb/datadriven.Walk.func1 + | | : + | | testing.tRunner + | | : + | | runtime.goexit + | | : + | Wraps: (2) new-style × + | | × + | Error types: (1) *errbase.opaqueWrapper (2) *errutil.leafError +Error types: (1) *domains.withDomain (2) *barriers.barrierErr +-- report composition: +*barriers.barrierErr: details for github.com/cockroachdb/errors/withstack/*withstack.withStack::: +*domains.withDomain: error domain: pkg == Extra "error types" -github.com/cockroachdb/errors/barriers/*barriers.barrierError (*::) +github.com/cockroachdb/errors/barriers/*barriers.barrierErr (*::) github.com/cockroachdb/errors/domains/*domains.withDomain (*::error domain: pkg ) == Exception 1 (Module: "error domain: pkg ") -Type: "*barriers.barrierError" -Title: "×\n×" +Type: "*barriers.barrierErr" +Title: "new-style ×" (NO STACKTRACE) ----- ----- run newf innerone innertwo @@ -3461,22 +3886,51 @@ Error types: (1) *hintdetail.withHint (2) *errbase.opaqueWrapper (3) *errutil.le ===== == Message payload :: new-style × +(1) × × --- -*errutil.leafError: new-style × (1) -:: *withstack.withStack (top exception) -*hintdetail.withHint -(check the extra data payloads) -== Extra "1: details" -new-style × - × -== Extra "error types" +Wraps: (2) + | (opaque error wrapper) + | type name: github.com/cockroachdb/errors/withstack/*withstack.withStack + | reportable 0: + | + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (3) new-style × + | × +Error types: (1) *hintdetail.withHint (2) *errbase.opaqueWrapper (3) *errutil.leafError +-- report composition: +*errutil.leafError: new-style × +:: *withstack.withStack (top exception) +*hintdetail.withHint +== Extra "error types" github.com/cockroachdb/errors/errutil/*errutil.leafError (*::) github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) github.com/cockroachdb/errors/hintdetail/*hintdetail.withHint (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errutil.leafError: new-style ×\n×\nvia *withstack.withStack" +Title: "*errutil.leafError: new-style ×\nvia *withstack.withStack" :: (runtime) goexit() :: @@ -3642,26 +4096,52 @@ Error types: (1) *issuelink.withIssueLink (2) *errbase.opaqueWrapper (3) *erruti ===== == Message payload :: new-style × -× --- -*errutil.leafError: new-style × (1) +(1) issue: https://mysite + | detail: outerthree + | outerfour +Wraps: (2) + | (opaque error wrapper) + | type name: github.com/cockroachdb/errors/withstack/*withstack.withStack + | reportable 0: + | + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (3) new-style × + | × +Error types: (1) *issuelink.withIssueLink (2) *errbase.opaqueWrapper (3) *errutil.leafError +-- report composition: +*errutil.leafError: new-style × :: *withstack.withStack (top exception) -*issuelink.withIssueLink: https://mysite (2) -(check the extra data payloads) -== Extra "1: details" -new-style × - × -== Extra "2: details" -https://mysite -outerthree - outerfour +*issuelink.withIssueLink: https://mysite == Extra "error types" github.com/cockroachdb/errors/errutil/*errutil.leafError (*::) github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) github.com/cockroachdb/errors/issuelink/*issuelink.withIssueLink (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errutil.leafError: new-style ×\n×\nvia *withstack.withStack" +Title: "*errutil.leafError: new-style ×\nvia *withstack.withStack" :: (runtime) goexit() :: @@ -3839,22 +4319,52 @@ Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueWrapper (3) *errutil. ===== == Message payload :: new-style × -× --- -*errutil.leafError: new-style × (1) +(1) + | (opaque error wrapper) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.werrMigrated +Wraps: (2) + | (opaque error wrapper) + | type name: github.com/cockroachdb/errors/withstack/*withstack.withStack + | reportable 0: + | + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (3) new-style × + | × +Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueWrapper (3) *errutil.leafError +-- report composition: +*errutil.leafError: new-style × :: *withstack.withStack (top exception) *fmttests.werrMigrated -(check the extra data payloads) -== Extra "1: details" -new-style × - × == Extra "error types" github.com/cockroachdb/errors/errutil/*errutil.leafError (*::) github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) github.com/cockroachdb/errors/fmttests/*fmttests.werrMigrated (some/previous/path/prevpkg.prevType::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errutil.leafError: new-style ×\n×\nvia *withstack.withStack" +Title: "*errutil.leafError: new-style ×\nvia *withstack.withStack" :: (runtime) goexit() :: @@ -4019,27 +4529,52 @@ Error types: (1) *errutil.withPrefix (2) *errbase.opaqueWrapper (3) *errutil.lea ===== Sentry reporting ===== == Message payload -:: outerthree -outerfour: new-style × -× --- -*errutil.leafError: new-style × (1) +:: outerthree: new-style × +(1) outerthree + | outerfour +Wraps: (2) + | (opaque error wrapper) + | type name: github.com/cockroachdb/errors/withstack/*withstack.withStack + | reportable 0: + | + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (3) new-style × + | × +Error types: (1) *errutil.withPrefix (2) *errbase.opaqueWrapper (3) *errutil.leafError +-- report composition: +*errutil.leafError: new-style × :: *withstack.withStack (top exception) -*errutil.withPrefix: outerthree (2) -(check the extra data payloads) -== Extra "1: details" -new-style × - × -== Extra "2: details" -outerthree - outerfour +*errutil.withPrefix: outerthree == Extra "error types" github.com/cockroachdb/errors/errutil/*errutil.leafError (*::) github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) github.com/cockroachdb/errors/errutil/*errutil.withPrefix (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errutil.leafError: outerthree\nouterfour: new-style ×\n×\nvia *withstack.withStack" +Title: "*errutil.leafError: outerthree: new-style ×\nvia *withstack.withStack" :: (runtime) goexit() :: @@ -4072,7 +4607,6 @@ opaque require (?s)outerthree.*outerfour.*innerone.*innertwo ---- ----- &errbase.opaqueWrapper{ cause: &secondary.withSecondaryError{ cause: &errutil.withNewMessage{ @@ -4376,52 +4910,111 @@ Error types: (1) *errbase.opaqueWrapper (2) *secondary.withSecondaryError (3) *e ===== == Message payload :: new-style (× -×) :: new-style × -× :: --- -*errutil.leafError: new-style × (1) +(1) + | (opaque error wrapper) + | type name: github.com/cockroachdb/errors/withstack/*withstack.withStack + | reportable 0: + | + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (2) secondary error attachment + | new-style × + | (1) + | | (opaque error wrapper) + | | type name: github.com/cockroachdb/errors/withstack/*withstack.withStack + | | reportable 0: + | | + | | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | | : + | | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | | : + | | github.com/cockroachdb/datadriven.runDirective.func1 + | | : + | | github.com/cockroachdb/datadriven.runDirective + | | : + | | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | | : + | | github.com/cockroachdb/datadriven.runTestInternal + | | : + | | github.com/cockroachdb/datadriven.RunTest + | | : + | | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | | : + | | github.com/cockroachdb/datadriven.Walk + | | : + | | github.com/cockroachdb/datadriven.Walk.func1 + | | : + | | testing.tRunner + | | : + | | runtime.goexit + | | : + | Wraps: (2) new-style × + | | × + | Error types: (1) *errbase.opaqueWrapper (2) *errutil.leafError +Wraps: (3) new-style (× + | ×) :: new-style × + | × :: +Wraps: (4) + | (opaque error wrapper) + | type name: github.com/cockroachdb/errors/withstack/*withstack.withStack + | reportable 0: + | + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (5) new-style × + | × +Error types: (1) *errbase.opaqueWrapper (2) *secondary.withSecondaryError (3) *errutil.withNewMessage (4) *errbase.opaqueWrapper (5) *errutil.leafError +-- report composition: +*errutil.leafError: new-style × :: *withstack.withStack (top exception) -*errutil.withNewMessage: new-style (× (2) -*secondary.withSecondaryError: details for github.com/cockroachdb/errors/withstack/*withstack.withStack::: (3) -:: *withstack.withStack (4) +*errutil.withNewMessage: new-style (× +*secondary.withSecondaryError: details for github.com/cockroachdb/errors/withstack/*withstack.withStack::: +:: *withstack.withStack (1) (check the extra data payloads) -== Extra "1: details" -new-style × - × -== Extra "2: details" -new-style (× - ×) :: new-style × - × :: -== Extra "3: details" -details for github.com/cockroachdb/errors/withstack/*withstack.withStack::: - - github.com/cockroachdb/errors/fmttests.glob...funcNN... - : - github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 - : - github.com/cockroachdb/datadriven.runDirective.func1 - : - github.com/cockroachdb/datadriven.runDirective - : - github.com/cockroachdb/datadriven.runDirectiveOrSubTest - : - github.com/cockroachdb/datadriven.runTestInternal - : - github.com/cockroachdb/datadriven.RunTest - : - github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 - : - github.com/cockroachdb/datadriven.Walk - : - github.com/cockroachdb/datadriven.Walk.func1 - : - testing.tRunner - : - runtime.goexit - : -details for github.com/cockroachdb/errors/errutil/*errutil.leafError::: - new-style × - × == Extra "error types" github.com/cockroachdb/errors/errutil/*errutil.leafError (*::) github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) @@ -4429,7 +5022,7 @@ github.com/cockroachdb/errors/errutil/*errutil.withNewMessage (*::) github.com/cockroachdb/errors/secondary/*secondary.withSecondaryError (*::) github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) == Exception 1 (Module: "error domain: ") -Type: "(4) : ...funcNN... +Type: "(1) : ...funcNN... Title: "*withstack.withStack" :: (runtime) goexit() @@ -4457,7 +5050,7 @@ Title: "*withstack.withStack" (github.com/cockroachdb/errors/fmttests.glob.)...funcNN... == Exception 2 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errutil.leafError: new-style (×\n×) :: new-style ×\n× ::\nvia *withstack.withStack" +Title: "*errutil.leafError: new-style (×\nvia *withstack.withStack" :: (runtime) goexit() :: @@ -4482,8 +5075,6 @@ Title: "*errutil.leafError: new-style (×\n×) :: new-style ×\n× ::\nvia *with (github.com/cockroachdb/errors/fmttests.TestDatadriven.func2) 1() :: (github.com/cockroachdb/errors/fmttests.glob.)...funcNN... ----- ----- run newf innerone innertwo @@ -4645,27 +5236,58 @@ Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueWrapper (3) *errutil. ===== Sentry reporting ===== == Message payload -:: × -×: new-style × -× --- -*errutil.leafError: new-style × (1) -:: *withstack.withStack (top exception) -*fmttests.werrNoFmt -(check the extra data payloads) -== Extra "1: details" -new-style × - × -== Extra "error types" -github.com/cockroachdb/errors/errutil/*errutil.leafError (*::) -github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) -github.com/cockroachdb/errors/fmttests/*fmttests.werrNoFmt (*::) -== Exception 1 (Module: "error domain: ") -Type: ": ...funcNN... -Title: "*errutil.leafError: ×\n×: new-style ×\n×\nvia *withstack.withStack" -:: - (runtime) goexit() -:: +:: ×: new-style × +(1) × + | × + | + | (opaque error wrapper) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.werrNoFmt +Wraps: (2) + | (opaque error wrapper) + | type name: github.com/cockroachdb/errors/withstack/*withstack.withStack + | reportable 0: + | + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (3) new-style × + | × +Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueWrapper (3) *errutil.leafError +-- report composition: +*errutil.leafError: new-style × +:: *withstack.withStack (top exception) +*fmttests.werrNoFmt +== Extra "error types" +github.com/cockroachdb/errors/errutil/*errutil.leafError (*::) +github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) +github.com/cockroachdb/errors/fmttests/*fmttests.werrNoFmt (*::) +== Exception 1 (Module: "error domain: ") +Type: ": ...funcNN... +Title: "*errutil.leafError: ×: new-style ×\nvia *withstack.withStack" +:: + (runtime) goexit() +:: (testing) tRunner() :: (github.com/cockroachdb/datadriven.Walk)...funcNN... @@ -4841,22 +5463,50 @@ Error types: (1) *os.LinkError (2) *errbase.opaqueWrapper (3) *errutil.leafError ===== == Message payload :: link × ×: new-style × -× --- -*errutil.leafError: new-style × (1) +(1) link × × +Wraps: (2) + | (opaque error wrapper) + | type name: github.com/cockroachdb/errors/withstack/*withstack.withStack + | reportable 0: + | + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (3) new-style × + | × +Error types: (1) *os.LinkError (2) *errbase.opaqueWrapper (3) *errutil.leafError +-- report composition: +*errutil.leafError: new-style × :: *withstack.withStack (top exception) *os.LinkError -(check the extra data payloads) -== Extra "1: details" -new-style × - × == Extra "error types" github.com/cockroachdb/errors/errutil/*errutil.leafError (*::) github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) os/*os.LinkError (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errutil.leafError: link × ×: new-style ×\n×\nvia *withstack.withStack" +Title: "*errutil.leafError: link × ×: new-style ×\nvia *withstack.withStack" :: (runtime) goexit() :: @@ -5039,22 +5689,53 @@ Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueWrapper (3) *errutil. ===== == Message payload :: ×: new-style × -× --- -*errutil.leafError: new-style × (1) +(1) × + | + | (opaque error wrapper) + | type name: net/*net.OpError +Wraps: (2) + | (opaque error wrapper) + | type name: github.com/cockroachdb/errors/withstack/*withstack.withStack + | reportable 0: + | + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (3) new-style × + | × +Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueWrapper (3) *errutil.leafError +-- report composition: +*errutil.leafError: new-style × :: *withstack.withStack (top exception) *net.OpError -(check the extra data payloads) -== Extra "1: details" -new-style × - × == Extra "error types" github.com/cockroachdb/errors/errutil/*errutil.leafError (*::) github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) net/*net.OpError (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errutil.leafError: ×: new-style ×\n×\nvia *withstack.withStack" +Title: "*errutil.leafError: ×: new-style ×\nvia *withstack.withStack" :: (runtime) goexit() :: @@ -5231,22 +5912,50 @@ Error types: (1) *fs.PathError (2) *errbase.opaqueWrapper (3) *errutil.leafError ===== == Message payload :: link ×: new-style × -× --- -*errutil.leafError: new-style × (1) +(1) link × +Wraps: (2) + | (opaque error wrapper) + | type name: github.com/cockroachdb/errors/withstack/*withstack.withStack + | reportable 0: + | + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (3) new-style × + | × +Error types: (1) *fs.PathError (2) *errbase.opaqueWrapper (3) *errutil.leafError +-- report composition: +*errutil.leafError: new-style × :: *withstack.withStack (top exception) *fs.PathError -(check the extra data payloads) -== Extra "1: details" -new-style × - × == Extra "error types" github.com/cockroachdb/errors/errutil/*errutil.leafError (*::) github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) io/fs/*fs.PathError (os/*os.PathError::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errutil.leafError: link ×: new-style ×\n×\nvia *withstack.withStack" +Title: "*errutil.leafError: link ×: new-style ×\nvia *withstack.withStack" :: (runtime) goexit() :: @@ -5421,22 +6130,50 @@ Error types: (1) *os.SyscallError (2) *errbase.opaqueWrapper (3) *errutil.leafEr ===== == Message payload :: open: new-style × -× --- -*errutil.leafError: new-style × (1) +(1) open +Wraps: (2) + | (opaque error wrapper) + | type name: github.com/cockroachdb/errors/withstack/*withstack.withStack + | reportable 0: + | + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (3) new-style × + | × +Error types: (1) *os.SyscallError (2) *errbase.opaqueWrapper (3) *errutil.leafError +-- report composition: +*errutil.leafError: new-style × :: *withstack.withStack (top exception) *os.SyscallError -(check the extra data payloads) -== Extra "1: details" -new-style × - × == Extra "error types" github.com/cockroachdb/errors/errutil/*errutil.leafError (*::) github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) os/*os.SyscallError (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errutil.leafError: open: new-style ×\n×\nvia *withstack.withStack" +Title: "*errutil.leafError: open: new-style ×\nvia *withstack.withStack" :: (runtime) goexit() :: @@ -5649,24 +6386,52 @@ Error types: (1) *errors.withMessage (2) *errbase.opaqueWrapper (3) *errutil.lea ===== Sentry reporting ===== == Message payload -:: × -×: new-style × +:: ×: new-style × +(1) ×× × --- -*errutil.leafError: new-style × (1) +Wraps: (2) + | (opaque error wrapper) + | type name: github.com/cockroachdb/errors/withstack/*withstack.withStack + | reportable 0: + | + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (3) new-style × + | × +Error types: (1) *errors.withMessage (2) *errbase.opaqueWrapper (3) *errutil.leafError +-- report composition: +*errutil.leafError: new-style × :: *withstack.withStack (top exception) *errors.withMessage -(check the extra data payloads) -== Extra "1: details" -new-style × - × == Extra "error types" github.com/cockroachdb/errors/errutil/*errutil.leafError (*::) github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) github.com/pkg/errors/*errors.withMessage (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errutil.leafError: ×\n×: new-style ×\n×\nvia *withstack.withStack" +Title: "*errutil.leafError: ×: new-style ×\nvia *withstack.withStack" :: (runtime) goexit() :: @@ -5901,21 +6666,78 @@ Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueWrapper (3) *errutil. ===== == Message payload :: new-style × -× --- -*errutil.leafError: new-style × (1) +(1) + | (opaque error wrapper) + | type name: github.com/pkg/errors/*errors.withStack + | reportable 0: + | + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (2) + | (opaque error wrapper) + | type name: github.com/cockroachdb/errors/withstack/*withstack.withStack + | reportable 0: + | + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (3) new-style × + | × +Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueWrapper (3) *errutil.leafError +-- report composition: +*errutil.leafError: new-style × :: *withstack.withStack (top exception) -:: *errors.withStack (2) +:: *errors.withStack (1) (check the extra data payloads) -== Extra "1: details" -new-style × - × == Extra "error types" github.com/cockroachdb/errors/errutil/*errutil.leafError (*::) github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) github.com/pkg/errors/*errors.withStack (*::) == Exception 1 (Module: "error domain: ") -Type: "(2) : ...funcNN... +Type: "(1) : ...funcNN... Title: "*errors.withStack" :: (runtime) goexit() @@ -5943,7 +6765,7 @@ Title: "*errors.withStack" (github.com/cockroachdb/errors/fmttests.glob.)...funcNN... == Exception 2 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errutil.leafError: new-style ×\n×\nvia *withstack.withStack" +Title: "*errutil.leafError: new-style ×\nvia *withstack.withStack" :: (runtime) goexit() :: @@ -6107,25 +6929,51 @@ Error types: (1) *safedetails.withSafeDetails (2) *errbase.opaqueWrapper (3) *er ===== == Message payload :: new-style × -× --- -*errutil.leafError: new-style × (1) +(1) safe × + | × +Wraps: (2) + | (opaque error wrapper) + | type name: github.com/cockroachdb/errors/withstack/*withstack.withStack + | reportable 0: + | + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (3) new-style × + | × +Error types: (1) *safedetails.withSafeDetails (2) *errbase.opaqueWrapper (3) *errutil.leafError +-- report composition: +*errutil.leafError: new-style × :: *withstack.withStack (top exception) -*safedetails.withSafeDetails: safe × (2) -(check the extra data payloads) -== Extra "1: details" -new-style × - × -== Extra "2: details" -safe × - × +*safedetails.withSafeDetails: safe × == Extra "error types" github.com/cockroachdb/errors/errutil/*errutil.leafError (*::) github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) github.com/cockroachdb/errors/safedetails/*safedetails.withSafeDetails (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errutil.leafError: new-style ×\n×\nvia *withstack.withStack" +Title: "*errutil.leafError: new-style ×\nvia *withstack.withStack" :: (runtime) goexit() :: @@ -6308,24 +7156,55 @@ Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueWrapper (3) *errutil. ===== Sentry reporting ===== == Message payload -:: × -×: new-style × -× --- -*errutil.leafError: new-style × (1) +:: ×: new-style × +(1) × + | × + | + | (opaque error wrapper) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.werrSafeFormat +Wraps: (2) + | (opaque error wrapper) + | type name: github.com/cockroachdb/errors/withstack/*withstack.withStack + | reportable 0: + | + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (3) new-style × + | × +Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueWrapper (3) *errutil.leafError +-- report composition: +*errutil.leafError: new-style × :: *withstack.withStack (top exception) *fmttests.werrSafeFormat -(check the extra data payloads) -== Extra "1: details" -new-style × - × == Extra "error types" github.com/cockroachdb/errors/errutil/*errutil.leafError (*::) github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) github.com/cockroachdb/errors/fmttests/*fmttests.werrSafeFormat (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errutil.leafError: ×\n×: new-style ×\n×\nvia *withstack.withStack" +Title: "*errutil.leafError: ×: new-style ×\nvia *withstack.withStack" :: (runtime) goexit() :: @@ -6358,7 +7237,6 @@ opaque require (?s)innerone.*innertwo ---- ----- &secondary.withSecondaryError{ cause: &errbase.opaqueWrapper{ cause: &errutil.leafError{msg:"new-style ‹innerone›\n‹innertwo›"}, @@ -6572,52 +7450,83 @@ Error types: (1) *secondary.withSecondaryError (2) *errbase.opaqueWrapper (3) *e ===== == Message payload :: new-style × -× --- -*errutil.leafError: new-style × (1) +(1) secondary error attachment + | outerthree + | (1) + | | (opaque error wrapper) + | | type name: github.com/cockroachdb/errors/withstack/*withstack.withStack + | | reportable 0: + | | + | | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | | : + | | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | | : + | | github.com/cockroachdb/datadriven.runDirective.func1 + | | : + | | github.com/cockroachdb/datadriven.runDirective + | | : + | | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | | : + | | github.com/cockroachdb/datadriven.runTestInternal + | | : + | | github.com/cockroachdb/datadriven.RunTest + | | : + | | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | | : + | | github.com/cockroachdb/datadriven.Walk + | | : + | | github.com/cockroachdb/datadriven.Walk.func1 + | | : + | | testing.tRunner + | | : + | | runtime.goexit + | | : + | Wraps: (2) outerthree + | | outerfour + | Error types: (1) *errbase.opaqueWrapper (2) *errutil.leafError +Wraps: (2) + | (opaque error wrapper) + | type name: github.com/cockroachdb/errors/withstack/*withstack.withStack + | reportable 0: + | + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (3) new-style × + | × +Error types: (1) *secondary.withSecondaryError (2) *errbase.opaqueWrapper (3) *errutil.leafError +-- report composition: +*errutil.leafError: new-style × :: *withstack.withStack (top exception) -*secondary.withSecondaryError: details for github.com/cockroachdb/errors/withstack/*withstack.withStack::: (2) -(check the extra data payloads) -== Extra "1: details" -new-style × - × -== Extra "2: details" -details for github.com/cockroachdb/errors/withstack/*withstack.withStack::: - - github.com/cockroachdb/errors/fmttests.glob...funcNN... - : - github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 - : - github.com/cockroachdb/datadriven.runDirective.func1 - : - github.com/cockroachdb/datadriven.runDirective - : - github.com/cockroachdb/datadriven.runDirectiveOrSubTest - : - github.com/cockroachdb/datadriven.runTestInternal - : - github.com/cockroachdb/datadriven.RunTest - : - github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 - : - github.com/cockroachdb/datadriven.Walk - : - github.com/cockroachdb/datadriven.Walk.func1 - : - testing.tRunner - : - runtime.goexit - : -details for github.com/cockroachdb/errors/errutil/*errutil.leafError::: - outerthree - outerfour +*secondary.withSecondaryError: details for github.com/cockroachdb/errors/withstack/*withstack.withStack::: == Extra "error types" github.com/cockroachdb/errors/errutil/*errutil.leafError (*::) github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) github.com/cockroachdb/errors/secondary/*secondary.withSecondaryError (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errutil.leafError: new-style ×\n×\nvia *withstack.withStack" +Title: "*errutil.leafError: new-style ×\nvia *withstack.withStack" :: (runtime) goexit() :: @@ -6642,8 +7551,6 @@ Title: "*errutil.leafError: new-style ×\n×\nvia *withstack.withStack" (github.com/cockroachdb/errors/fmttests.TestDatadriven.func2) 1() :: (github.com/cockroachdb/errors/fmttests.glob.)...funcNN... ----- ----- run newf innerone innertwo @@ -6773,16 +7680,82 @@ Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueWrapper (3) *errutil. ===== ===== redactable formats ===== -== printed via redact Print(), ok - congruent with %v -new-style ‹innerone› -‹innertwo› -== printed via redact Printf() %v = Print(), good -== printed via redact Printf() %s = Print(), good -== printed via redact Printf() %q, refused - good -== printed via redact Printf() %x, refused - good -== printed via redact Printf() %X, refused - good -== printed via redact Printf() %+v, ok - congruent with %+v -new-style ‹innerone› +== printed via redact Print(), ok - congruent with %v +new-style ‹innerone› +‹innertwo› +== printed via redact Printf() %v = Print(), good +== printed via redact Printf() %s = Print(), good +== printed via redact Printf() %q, refused - good +== printed via redact Printf() %x, refused - good +== printed via redact Printf() %X, refused - good +== printed via redact Printf() %+v, ok - congruent with %+v +new-style ‹innerone› +(1) + | (opaque error wrapper) + | type name: github.com/cockroachdb/errors/withstack/*withstack.withStack + | reportable 0: + | + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (2) + | (opaque error wrapper) + | type name: github.com/cockroachdb/errors/withstack/*withstack.withStack + | reportable 0: + | + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (3) new-style ‹innerone› + | ‹innertwo› +Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueWrapper (3) *errutil.leafError +===== +===== Sentry reporting +===== +== Message payload +:: new-style × (1) | (opaque error wrapper) | type name: github.com/cockroachdb/errors/withstack/*withstack.withStack @@ -6841,29 +7814,20 @@ Wraps: (2) | : | runtime.goexit | : -Wraps: (3) new-style ‹innerone› - | ‹innertwo› +Wraps: (3) new-style × + | × Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueWrapper (3) *errutil.leafError -===== -===== Sentry reporting -===== -== Message payload -:: new-style × -× --- -*errutil.leafError: new-style × (1) +-- report composition: +*errutil.leafError: new-style × :: *withstack.withStack (top exception) -:: *withstack.withStack (2) +:: *withstack.withStack (1) (check the extra data payloads) -== Extra "1: details" -new-style × - × == Extra "error types" github.com/cockroachdb/errors/errutil/*errutil.leafError (*::) github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) == Exception 1 (Module: "error domain: ") -Type: "(2) : ...funcNN... +Type: "(1) : ...funcNN... Title: "*withstack.withStack" :: (runtime) goexit() @@ -6891,7 +7855,7 @@ Title: "*withstack.withStack" (github.com/cockroachdb/errors/fmttests.glob.)...funcNN... == Exception 2 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errutil.leafError: new-style ×\n×\nvia *withstack.withStack" +Title: "*errutil.leafError: new-style ×\nvia *withstack.withStack" :: (runtime) goexit() :: @@ -7101,25 +8065,50 @@ Error types: (1) *contexttags.withContext (2) *errbase.opaqueWrapper (3) *erruti ===== == Message payload :: new-style × -× --- -*errutil.leafError: new-style × (1) +(1) tags: [k×,safe=×] +Wraps: (2) + | (opaque error wrapper) + | type name: github.com/cockroachdb/errors/withstack/*withstack.withStack + | reportable 0: + | + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (3) new-style × + | × +Error types: (1) *contexttags.withContext (2) *errbase.opaqueWrapper (3) *errutil.leafError +-- report composition: +*errutil.leafError: new-style × :: *withstack.withStack (top exception) -*contexttags.withContext: k× (2) -(check the extra data payloads) -== Extra "1: details" -new-style × - × -== Extra "2: details" -k× -safe=456 +*contexttags.withContext: k× == Extra "error types" github.com/cockroachdb/errors/errutil/*errutil.leafError (*::) github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) github.com/cockroachdb/errors/contexttags/*contexttags.withContext (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errutil.leafError: new-style ×\n×\nvia *withstack.withStack" +Title: "*errutil.leafError: new-style ×\nvia *withstack.withStack" :: (runtime) goexit() :: @@ -7283,26 +8272,51 @@ Error types: (1) *telemetrykeys.withTelemetry (2) *errbase.opaqueWrapper (3) *er ===== == Message payload :: new-style × -× --- -*errutil.leafError: new-style × (1) +(1) keys: [somekey outerthree + | outerfour] +Wraps: (2) + | (opaque error wrapper) + | type name: github.com/cockroachdb/errors/withstack/*withstack.withStack + | reportable 0: + | + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (3) new-style × + | × +Error types: (1) *telemetrykeys.withTelemetry (2) *errbase.opaqueWrapper (3) *errutil.leafError +-- report composition: +*errutil.leafError: new-style × :: *withstack.withStack (top exception) -*telemetrykeys.withTelemetry: somekey (2) -(check the extra data payloads) -== Extra "1: details" -new-style × - × -== Extra "2: details" -somekey -outerthree - outerfour +*telemetrykeys.withTelemetry: somekey == Extra "error types" github.com/cockroachdb/errors/errutil/*errutil.leafError (*::) github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) github.com/cockroachdb/errors/telemetrykeys/*telemetrykeys.withTelemetry (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errutil.leafError: new-style ×\n×\nvia *withstack.withStack" +Title: "*errutil.leafError: new-style ×\nvia *withstack.withStack" :: (runtime) goexit() :: @@ -7543,28 +8557,83 @@ Error types: (1) *errbase.opaqueWrapper (2) *errutil.withPrefix (3) *errbase.opa ===== Sentry reporting ===== == Message payload -:: new-stylew × -×: new-style × -× --- -*errutil.leafError: new-style × (1) +:: new-stylew ×: new-style × +(1) + | (opaque error wrapper) + | type name: github.com/cockroachdb/errors/withstack/*withstack.withStack + | reportable 0: + | + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (2) new-stylew × + | × +Wraps: (3) + | (opaque error wrapper) + | type name: github.com/cockroachdb/errors/withstack/*withstack.withStack + | reportable 0: + | + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (4) new-style × + | × +Error types: (1) *errbase.opaqueWrapper (2) *errutil.withPrefix (3) *errbase.opaqueWrapper (4) *errutil.leafError +-- report composition: +*errutil.leafError: new-style × :: *withstack.withStack (top exception) -*errutil.withPrefix: new-stylew × (2) -:: *withstack.withStack (3) +*errutil.withPrefix: new-stylew × +:: *withstack.withStack (1) (check the extra data payloads) -== Extra "1: details" -new-style × - × -== Extra "2: details" -new-stylew × - × == Extra "error types" github.com/cockroachdb/errors/errutil/*errutil.leafError (*::) github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) github.com/cockroachdb/errors/errutil/*errutil.withPrefix (*::) github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) == Exception 1 (Module: "error domain: ") -Type: "(3) : ...funcNN... +Type: "(1) : ...funcNN... Title: "*withstack.withStack" :: (runtime) goexit() @@ -7592,7 +8661,7 @@ Title: "*withstack.withStack" (github.com/cockroachdb/errors/fmttests.glob.)...funcNN... == Exception 2 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errutil.leafError: new-stylew ×\n×: new-style ×\n×\nvia *withstack.withStack" +Title: "*errutil.leafError: new-stylew ×: new-style ×\nvia *withstack.withStack" :: (runtime) goexit() :: @@ -7625,7 +8694,6 @@ opaque require (?s)outerthree.*outerfour.*innerone.*innertwo ---- ----- &errbase.opaqueWrapper{ cause: &secondary.withSecondaryError{ cause: &errutil.withPrefix{ @@ -7924,51 +8992,110 @@ Error types: (1) *errbase.opaqueWrapper (2) *secondary.withSecondaryError (3) *e ===== Sentry reporting ===== == Message payload -:: new-style × -× (payload): new-style × -× --- -*errutil.leafError: new-style × (1) +:: new-style ×: new-style × +(1) + | (opaque error wrapper) + | type name: github.com/cockroachdb/errors/withstack/*withstack.withStack + | reportable 0: + | + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (2) secondary error attachment + | payload + | (1) + | | (opaque error wrapper) + | | type name: github.com/cockroachdb/errors/withstack/*withstack.withStack + | | reportable 0: + | | + | | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | | : + | | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | | : + | | github.com/cockroachdb/datadriven.runDirective.func1 + | | : + | | github.com/cockroachdb/datadriven.runDirective + | | : + | | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | | : + | | github.com/cockroachdb/datadriven.runTestInternal + | | : + | | github.com/cockroachdb/datadriven.RunTest + | | : + | | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | | : + | | github.com/cockroachdb/datadriven.Walk + | | : + | | github.com/cockroachdb/datadriven.Walk.func1 + | | : + | | testing.tRunner + | | : + | | runtime.goexit + | | : + | Wraps: (2) payload + | Error types: (1) *errbase.opaqueWrapper (2) *errutil.leafError +Wraps: (3) new-style × + | × (payload) +Wraps: (4) + | (opaque error wrapper) + | type name: github.com/cockroachdb/errors/withstack/*withstack.withStack + | reportable 0: + | + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (5) new-style × + | × +Error types: (1) *errbase.opaqueWrapper (2) *secondary.withSecondaryError (3) *errutil.withPrefix (4) *errbase.opaqueWrapper (5) *errutil.leafError +-- report composition: +*errutil.leafError: new-style × :: *withstack.withStack (top exception) -*errutil.withPrefix: new-style × (2) -*secondary.withSecondaryError: details for github.com/cockroachdb/errors/withstack/*withstack.withStack::: (3) -:: *withstack.withStack (4) +*errutil.withPrefix: new-style × +*secondary.withSecondaryError: details for github.com/cockroachdb/errors/withstack/*withstack.withStack::: +:: *withstack.withStack (1) (check the extra data payloads) -== Extra "1: details" -new-style × - × -== Extra "2: details" -new-style × - × (payload) -== Extra "3: details" -details for github.com/cockroachdb/errors/withstack/*withstack.withStack::: - - github.com/cockroachdb/errors/fmttests.glob...funcNN... - : - github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 - : - github.com/cockroachdb/datadriven.runDirective.func1 - : - github.com/cockroachdb/datadriven.runDirective - : - github.com/cockroachdb/datadriven.runDirectiveOrSubTest - : - github.com/cockroachdb/datadriven.runTestInternal - : - github.com/cockroachdb/datadriven.RunTest - : - github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 - : - github.com/cockroachdb/datadriven.Walk - : - github.com/cockroachdb/datadriven.Walk.func1 - : - testing.tRunner - : - runtime.goexit - : -details for github.com/cockroachdb/errors/errutil/*errutil.leafError::: - payload == Extra "error types" github.com/cockroachdb/errors/errutil/*errutil.leafError (*::) github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) @@ -7976,7 +9103,7 @@ github.com/cockroachdb/errors/errutil/*errutil.withPrefix (*::) github.com/cockroachdb/errors/secondary/*secondary.withSecondaryError (*::) github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) == Exception 1 (Module: "error domain: ") -Type: "(4) : ...funcNN... +Type: "(1) : ...funcNN... Title: "*withstack.withStack" :: (runtime) goexit() @@ -8004,7 +9131,7 @@ Title: "*withstack.withStack" (github.com/cockroachdb/errors/fmttests.glob.)...funcNN... == Exception 2 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errutil.leafError: new-style ×\n× (payload): new-style ×\n×\nvia *withstack.withStack" +Title: "*errutil.leafError: new-style ×: new-style ×\nvia *withstack.withStack" :: (runtime) goexit() :: @@ -8029,5 +9156,3 @@ Title: "*errutil.leafError: new-style ×\n× (payload): new-style ×\n×\nvia *w (github.com/cockroachdb/errors/fmttests.TestDatadriven.func2) 1() :: (github.com/cockroachdb/errors/fmttests.glob.)...funcNN... ----- ----- diff --git a/fmttests/testdata/format/wrap-nofmt b/fmttests/testdata/format/wrap-nofmt index fa022bf..3522f77 100644 --- a/fmttests/testdata/format/wrap-nofmt +++ b/fmttests/testdata/format/wrap-nofmt @@ -6,8 +6,8 @@ require (?s) ---- &assert.withAssertionFailure{ cause: &withstack.withStack{ - cause: &barriers.barrierError{ - msg: "innerone\ninnertwo", + cause: &barriers.barrierErr{ + smsg: "‹innerone›\n‹innertwo›", maskedErr: &fmttests.errNoFmt{msg:"innerone\ninnertwo"}, }, stack: &stack{...}, @@ -19,8 +19,8 @@ require (?s) == %#v &assert.withAssertionFailure{ cause: &withstack.withStack{ - cause: &barriers.barrierError{ - msg: "innerone\ninnertwo", + cause: &barriers.barrierErr{ + smsg: "‹innerone›\n‹innertwo›", maskedErr: &fmttests.errNoFmt{msg:"innerone\ninnertwo"}, }, stack: &stack{...}, @@ -70,7 +70,7 @@ Wraps: (3) innerone | (1) innerone | | innertwo | Error types: (1) *fmttests.errNoFmt -Error types: (1) *assert.withAssertionFailure (2) *withstack.withStack (3) *barriers.barrierError +Error types: (1) *assert.withAssertionFailure (2) *withstack.withStack (3) *barriers.barrierErr == %#v via Formattable() = %#v, good == %v via Formattable() = Error(), good == %s via Formattable() = %v via Formattable(), good @@ -123,24 +123,58 @@ Wraps: (3) ‹innerone› | (1) ‹innerone›‹› | ‹ | innertwo› | Error types: (1) *fmttests.errNoFmt -Error types: (1) *assert.withAssertionFailure (2) *withstack.withStack (3) *barriers.barrierError +Error types: (1) *assert.withAssertionFailure (2) *withstack.withStack (3) *barriers.barrierErr ===== ===== Sentry reporting ===== == Message payload :: × -× --- -*barriers.barrierError +(1) assertion failure +Wraps: (2) attached stack trace + -- stack trace: + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (3) × + | × + | -- cause hidden behind barrier + | × + | (1) ×× + | × + | Error types: (1) *fmttests.errNoFmt +Error types: (1) *assert.withAssertionFailure (2) *withstack.withStack (3) *barriers.barrierErr +-- report composition: +*barriers.barrierErr: masked error: × :: *withstack.withStack (top exception) *assert.withAssertionFailure == Extra "error types" -github.com/cockroachdb/errors/barriers/*barriers.barrierError (*::) +github.com/cockroachdb/errors/barriers/*barriers.barrierErr (*::) github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) github.com/cockroachdb/errors/assert/*assert.withAssertionFailure (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*barriers.barrierError: ×\n×\nvia *withstack.withStack" +Title: "*barriers.barrierErr: ×\nvia *withstack.withStack" :: (runtime) goexit() :: @@ -175,8 +209,8 @@ require (?s)outerthree.*outerfour.* &assert.withAssertionFailure{ cause: &withstack.withStack{ cause: &errutil.withPrefix{ - cause: &barriers.barrierError{ - msg: "innerone\ninnertwo", + cause: &barriers.barrierErr{ + smsg: "‹innerone›\n‹innertwo›", maskedErr: &fmttests.errNoFmt{msg:"innerone\ninnertwo"}, }, prefix: "assertmsg: ‹outerthree›\n‹outerfour›", @@ -191,8 +225,8 @@ require (?s)outerthree.*outerfour.* &assert.withAssertionFailure{ cause: &withstack.withStack{ cause: &errutil.withPrefix{ - cause: &barriers.barrierError{ - msg: "innerone\ninnertwo", + cause: &barriers.barrierErr{ + smsg: "‹innerone›\n‹innertwo›", maskedErr: &fmttests.errNoFmt{msg:"innerone\ninnertwo"}, }, prefix: "assertmsg: ‹outerthree›\n‹outerfour›", @@ -247,7 +281,7 @@ Wraps: (4) innerone | (1) innerone | | innertwo | Error types: (1) *fmttests.errNoFmt -Error types: (1) *assert.withAssertionFailure (2) *withstack.withStack (3) *errutil.withPrefix (4) *barriers.barrierError +Error types: (1) *assert.withAssertionFailure (2) *withstack.withStack (3) *errutil.withPrefix (4) *barriers.barrierErr == %#v via Formattable() = %#v, good == %v via Formattable() = Error(), good == %s via Formattable() = %v via Formattable(), good @@ -303,31 +337,62 @@ Wraps: (4) ‹innerone› | (1) ‹innerone›‹› | ‹ | innertwo› | Error types: (1) *fmttests.errNoFmt -Error types: (1) *assert.withAssertionFailure (2) *withstack.withStack (3) *errutil.withPrefix (4) *barriers.barrierError +Error types: (1) *assert.withAssertionFailure (2) *withstack.withStack (3) *errutil.withPrefix (4) *barriers.barrierErr ===== ===== Sentry reporting ===== == Message payload -:: assertmsg: × -×: × -× --- -*barriers.barrierError -*errutil.withPrefix: assertmsg: × (1) +:: assertmsg: ×: × +(1) assertion failure +Wraps: (2) attached stack trace + -- stack trace: + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (3) assertmsg: × + | × +Wraps: (4) × + | × + | -- cause hidden behind barrier + | × + | (1) ×× + | × + | Error types: (1) *fmttests.errNoFmt +Error types: (1) *assert.withAssertionFailure (2) *withstack.withStack (3) *errutil.withPrefix (4) *barriers.barrierErr +-- report composition: +*barriers.barrierErr: masked error: × +*errutil.withPrefix: assertmsg: × :: *withstack.withStack (top exception) *assert.withAssertionFailure -(check the extra data payloads) -== Extra "1: details" -assertmsg: × - × == Extra "error types" -github.com/cockroachdb/errors/barriers/*barriers.barrierError (*::) +github.com/cockroachdb/errors/barriers/*barriers.barrierErr (*::) github.com/cockroachdb/errors/errutil/*errutil.withPrefix (*::) github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) github.com/cockroachdb/errors/assert/*assert.withAssertionFailure (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*barriers.barrierError: assertmsg: ×\n×: ×\n×\nvia *withstack.withStack" +Title: "*barriers.barrierErr: assertmsg: ×: ×\nvia *withstack.withStack" :: (runtime) goexit() :: @@ -359,16 +424,16 @@ barrier outerthree outerfour require (?s) ---- -&barriers.barrierError{ - msg: "innerone\ninnertwo", +&barriers.barrierErr{ + smsg: "‹innerone›\n‹innertwo›", maskedErr: &fmttests.errNoFmt{msg:"innerone\ninnertwo"}, } ===== ===== non-redactable formats ===== == %#v -&barriers.barrierError{ - msg: "innerone\ninnertwo", +&barriers.barrierErr{ + smsg: "‹innerone›\n‹innertwo›", maskedErr: &fmttests.errNoFmt{msg:"innerone\ninnertwo"}, } == Error() @@ -388,7 +453,7 @@ innerone | (1) innerone | | innertwo | Error types: (1) *fmttests.errNoFmt -Error types: (1) *barriers.barrierError +Error types: (1) *barriers.barrierErr == %#v via Formattable() = %#v, good == %v via Formattable() = Error(), good == %s via Formattable() = %v via Formattable(), good @@ -414,20 +479,27 @@ Error types: (1) *barriers.barrierError | (1) ‹innerone›‹› | ‹ | innertwo› | Error types: (1) *fmttests.errNoFmt -Error types: (1) *barriers.barrierError +Error types: (1) *barriers.barrierErr ===== ===== Sentry reporting ===== == Message payload × -× --- -*barriers.barrierError +(1) × + | × + | -- cause hidden behind barrier + | × + | (1) ×× + | × + | Error types: (1) *fmttests.errNoFmt +Error types: (1) *barriers.barrierErr +-- report composition: +*barriers.barrierErr: masked error: × == Extra "error types" -github.com/cockroachdb/errors/barriers/*barriers.barrierError (*::) +github.com/cockroachdb/errors/barriers/*barriers.barrierErr (*::) == Exception 1 (Module: "error domain: ") -Type: "*barriers.barrierError" -Title: "×\n×" +Type: "*barriers.barrierErr" +Title: "×" (NO STACKTRACE) run @@ -496,10 +568,15 @@ Error types: (1) *fmttests.werrDelegate (2) *fmttests.errNoFmt ===== Sentry reporting ===== == Message payload -× ×: × +(1) ×× × --- +× +× +Wraps: (2) ×× +× +Error types: (1) *fmttests.werrDelegate (2) *fmttests.errNoFmt +-- report composition: *fmttests.errNoFmt *fmttests.werrDelegate == Extra "error types" @@ -507,7 +584,7 @@ github.com/cockroachdb/errors/fmttests/*fmttests.errNoFmt (*::) github.com/cockroachdb/errors/fmttests/*fmttests.werrDelegate (*::) == Exception 1 (Module: "error domain: ") Type: "*fmttests.errNoFmt" -Title: "×\n×: ×\n×" +Title: "×: ×" (NO STACKTRACE) run @@ -567,8 +644,11 @@ Error types: (1) *fmttests.werrDelegateEmpty (2) *fmttests.errNoFmt ===== == Message payload × +(1) +Wraps: (2) ×× × --- +Error types: (1) *fmttests.werrDelegateEmpty (2) *fmttests.errNoFmt +-- report composition: *fmttests.errNoFmt *fmttests.werrDelegateEmpty == Extra "error types" @@ -576,7 +656,7 @@ github.com/cockroachdb/errors/fmttests/*fmttests.errNoFmt (*::) github.com/cockroachdb/errors/fmttests/*fmttests.werrDelegateEmpty (*::) == Exception 1 (Module: "error domain: ") Type: "*fmttests.errNoFmt" -Title: "×\n×" +Title: "×" (NO STACKTRACE) run @@ -636,8 +716,11 @@ Error types: (1) *fmttests.werrDelegateNoPrefix (2) *fmttests.errNoFmt ===== == Message payload × +(1) × +Wraps: (2) ×× × --- +Error types: (1) *fmttests.werrDelegateNoPrefix (2) *fmttests.errNoFmt +-- report composition: *fmttests.errNoFmt *fmttests.werrDelegateNoPrefix == Extra "error types" @@ -645,7 +728,7 @@ github.com/cockroachdb/errors/fmttests/*fmttests.errNoFmt (*::) github.com/cockroachdb/errors/fmttests/*fmttests.werrDelegateNoPrefix (*::) == Exception 1 (Module: "error domain: ") Type: "*fmttests.errNoFmt" -Title: "×\n×" +Title: "×" (NO STACKTRACE) run @@ -709,8 +792,12 @@ Error types: (1) *hintdetail.withDetail (2) *fmttests.errNoFmt ===== == Message payload × +(1) × +× +Wraps: (2) ×× × --- +Error types: (1) *hintdetail.withDetail (2) *fmttests.errNoFmt +-- report composition: *fmttests.errNoFmt *hintdetail.withDetail == Extra "error types" @@ -718,7 +805,7 @@ github.com/cockroachdb/errors/fmttests/*fmttests.errNoFmt (*::) github.com/cockroachdb/errors/hintdetail/*hintdetail.withDetail (*::) == Exception 1 (Module: "error domain: ") Type: "*fmttests.errNoFmt" -Title: "×\n×" +Title: "×" (NO STACKTRACE) run @@ -780,19 +867,19 @@ Error types: (1) *domains.withDomain (2) *fmttests.errNoFmt ===== == Message payload × +(1) mydomain +Wraps: (2) ×× × --- +Error types: (1) *domains.withDomain (2) *fmttests.errNoFmt +-- report composition: *fmttests.errNoFmt -*domains.withDomain: mydomain (1) -(check the extra data payloads) -== Extra "1: details" -mydomain +*domains.withDomain: mydomain == Extra "error types" github.com/cockroachdb/errors/fmttests/*fmttests.errNoFmt (*::) github.com/cockroachdb/errors/domains/*domains.withDomain (*::mydomain) == Exception 1 (Module: "mydomain") Type: "*fmttests.errNoFmt" -Title: "×\n×" +Title: "×" (NO STACKTRACE) run @@ -856,8 +943,12 @@ Error types: (1) *fmttests.werrWithElidedCause (2) *fmttests.errNoFmt ===== == Message payload × +(1) ×× × --- +Wraps: (2) ×× +× +Error types: (1) *fmttests.werrWithElidedCause (2) *fmttests.errNoFmt +-- report composition: *fmttests.errNoFmt *fmttests.werrWithElidedCause == Extra "error types" @@ -865,7 +956,7 @@ github.com/cockroachdb/errors/fmttests/*fmttests.errNoFmt (*::) github.com/cockroachdb/errors/fmttests/*fmttests.werrWithElidedCause (*::) == Exception 1 (Module: "error domain: ") Type: "*fmttests.errNoFmt" -Title: "×\n×" +Title: "×" (NO STACKTRACE) run @@ -925,8 +1016,11 @@ Error types: (1) *fmttests.werrEmpty (2) *fmttests.errNoFmt ===== == Message payload × +(1) +Wraps: (2) ×× × --- +Error types: (1) *fmttests.werrEmpty (2) *fmttests.errNoFmt +-- report composition: *fmttests.errNoFmt *fmttests.werrEmpty == Extra "error types" @@ -934,7 +1028,7 @@ github.com/cockroachdb/errors/fmttests/*fmttests.errNoFmt (*::) github.com/cockroachdb/errors/fmttests/*fmttests.werrEmpty (*::) == Exception 1 (Module: "error domain: ") Type: "*fmttests.errNoFmt" -Title: "×\n×" +Title: "×" (NO STACKTRACE) run @@ -1005,10 +1099,16 @@ Error types: (1) *fmttests.werrFmt (2) *fmttests.errNoFmt ===== Sentry reporting ===== == Message payload -× ×: × +(1) ×× × --- +× +× +× +Wraps: (2) ×× +× +Error types: (1) *fmttests.werrFmt (2) *fmttests.errNoFmt +-- report composition: *fmttests.errNoFmt *fmttests.werrFmt == Extra "error types" @@ -1016,7 +1116,7 @@ github.com/cockroachdb/errors/fmttests/*fmttests.errNoFmt (*::) github.com/cockroachdb/errors/fmttests/*fmttests.werrFmt (*::) == Exception 1 (Module: "error domain: ") Type: "*fmttests.errNoFmt" -Title: "×\n×: ×\n×" +Title: "×: ×" (NO STACKTRACE) run @@ -1090,10 +1190,13 @@ Error types: (1) *fmttests.werrFmto (2) *fmttests.errNoFmt ===== Sentry reporting ===== == Message payload -× ×: × +(1) ×× × --- +Wraps: (2) ×× +× +Error types: (1) *fmttests.werrFmto (2) *fmttests.errNoFmt +-- report composition: *fmttests.errNoFmt *fmttests.werrFmto == Extra "error types" @@ -1101,7 +1204,7 @@ github.com/cockroachdb/errors/fmttests/*fmttests.errNoFmt (*::) github.com/cockroachdb/errors/fmttests/*fmttests.werrFmto (*::) == Exception 1 (Module: "error domain: ") Type: "*fmttests.errNoFmt" -Title: "×\n×: ×\n×" +Title: "×: ×" (NO STACKTRACE) run @@ -1175,10 +1278,13 @@ Error types: (1) *fmttests.werrFmtoDelegate (2) *fmttests.errNoFmt ===== Sentry reporting ===== == Message payload -× ×: × +(1) ×× × --- +Wraps: (2) ×× +× +Error types: (1) *fmttests.werrFmtoDelegate (2) *fmttests.errNoFmt +-- report composition: *fmttests.errNoFmt *fmttests.werrFmtoDelegate == Extra "error types" @@ -1186,7 +1292,7 @@ github.com/cockroachdb/errors/fmttests/*fmttests.errNoFmt (*::) github.com/cockroachdb/errors/fmttests/*fmttests.werrFmtoDelegate (*::) == Exception 1 (Module: "error domain: ") Type: "*fmttests.errNoFmt" -Title: "×\n×: ×\n×" +Title: "×: ×" (NO STACKTRACE) run @@ -1251,10 +1357,13 @@ Error types: (1) *fmttests.werrFmtp (2) *fmttests.errNoFmt ===== Sentry reporting ===== == Message payload -× ×: × +(1) ×× × --- +Wraps: (2) ×× +× +Error types: (1) *fmttests.werrFmtp (2) *fmttests.errNoFmt +-- report composition: *fmttests.errNoFmt *fmttests.werrFmtp == Extra "error types" @@ -1262,7 +1371,7 @@ github.com/cockroachdb/errors/fmttests/*fmttests.errNoFmt (*::) github.com/cockroachdb/errors/fmttests/*fmttests.werrFmtp (*::) == Exception 1 (Module: "error domain: ") Type: "*fmttests.errNoFmt" -Title: "×\n×: ×\n×" +Title: "×: ×" (NO STACKTRACE) run @@ -1331,10 +1440,13 @@ Error types: (1) *fmt.wrapError (2) *fmttests.errNoFmt ===== Sentry reporting ===== == Message payload -× ×: × +(1) ×× × --- +Wraps: (2) ×× +× +Error types: (1) *fmt.wrapError (2) *fmttests.errNoFmt +-- report composition: *fmttests.errNoFmt *fmt.wrapError == Extra "error types" @@ -1342,7 +1454,7 @@ github.com/cockroachdb/errors/fmttests/*fmttests.errNoFmt (*::) fmt/*fmt.wrapError (*::) == Exception 1 (Module: "error domain: ") Type: "*fmttests.errNoFmt" -Title: "×\n×: ×\n×" +Title: "×: ×" (NO STACKTRACE) run @@ -1352,8 +1464,8 @@ handled-domain outerthree outerfour require (?s) ---- &domains.withDomain{ - cause: &barriers.barrierError{ - msg: "innerone\ninnertwo", + cause: &barriers.barrierErr{ + smsg: "‹innerone›\n‹innertwo›", maskedErr: &fmttests.errNoFmt{msg:"innerone\ninnertwo"}, }, domain: "error domain: pkg ", @@ -1363,8 +1475,8 @@ require (?s) ===== == %#v &domains.withDomain{ - cause: &barriers.barrierError{ - msg: "innerone\ninnertwo", + cause: &barriers.barrierErr{ + smsg: "‹innerone›\n‹innertwo›", maskedErr: &fmttests.errNoFmt{msg:"innerone\ninnertwo"}, }, domain: "error domain: pkg ", @@ -1387,7 +1499,7 @@ Wraps: (2) innerone | (1) innerone | | innertwo | Error types: (1) *fmttests.errNoFmt -Error types: (1) *domains.withDomain (2) *barriers.barrierError +Error types: (1) *domains.withDomain (2) *barriers.barrierErr == %#v via Formattable() = %#v, good == %v via Formattable() = Error(), good == %s via Formattable() = %v via Formattable(), good @@ -1414,25 +1526,30 @@ Wraps: (2) ‹innerone› | (1) ‹innerone›‹› | ‹ | innertwo› | Error types: (1) *fmttests.errNoFmt -Error types: (1) *domains.withDomain (2) *barriers.barrierError +Error types: (1) *domains.withDomain (2) *barriers.barrierErr ===== ===== Sentry reporting ===== == Message payload × -× --- -*barriers.barrierError -*domains.withDomain: error domain: pkg (1) -(check the extra data payloads) -== Extra "1: details" -error domain: pkg +(1) error domain: pkg +Wraps: (2) × + | × + | -- cause hidden behind barrier + | × + | (1) ×× + | × + | Error types: (1) *fmttests.errNoFmt +Error types: (1) *domains.withDomain (2) *barriers.barrierErr +-- report composition: +*barriers.barrierErr: masked error: × +*domains.withDomain: error domain: pkg == Extra "error types" -github.com/cockroachdb/errors/barriers/*barriers.barrierError (*::) +github.com/cockroachdb/errors/barriers/*barriers.barrierErr (*::) github.com/cockroachdb/errors/domains/*domains.withDomain (*::error domain: pkg ) == Exception 1 (Module: "error domain: pkg ") -Type: "*barriers.barrierError" -Title: "×\n×" +Type: "*barriers.barrierErr" +Title: "×" (NO STACKTRACE) run @@ -1496,8 +1613,12 @@ Error types: (1) *hintdetail.withHint (2) *fmttests.errNoFmt ===== == Message payload × +(1) × +× +Wraps: (2) ×× × --- +Error types: (1) *hintdetail.withHint (2) *fmttests.errNoFmt +-- report composition: *fmttests.errNoFmt *hintdetail.withHint == Extra "error types" @@ -1505,7 +1626,7 @@ github.com/cockroachdb/errors/fmttests/*fmttests.errNoFmt (*::) github.com/cockroachdb/errors/hintdetail/*hintdetail.withHint (*::) == Exception 1 (Module: "error domain: ") Type: "*fmttests.errNoFmt" -Title: "×\n×" +Title: "×" (NO STACKTRACE) run @@ -1571,21 +1692,21 @@ Error types: (1) *issuelink.withIssueLink (2) *fmttests.errNoFmt ===== == Message payload × +(1) issue: https://mysite + | detail: outerthree + | outerfour +Wraps: (2) ×× × --- +Error types: (1) *issuelink.withIssueLink (2) *fmttests.errNoFmt +-- report composition: *fmttests.errNoFmt -*issuelink.withIssueLink: https://mysite (1) -(check the extra data payloads) -== Extra "1: details" -https://mysite -outerthree - outerfour +*issuelink.withIssueLink: https://mysite == Extra "error types" github.com/cockroachdb/errors/fmttests/*fmttests.errNoFmt (*::) github.com/cockroachdb/errors/issuelink/*issuelink.withIssueLink (*::) == Exception 1 (Module: "error domain: ") Type: "*fmttests.errNoFmt" -Title: "×\n×" +Title: "×" (NO STACKTRACE) run @@ -1645,8 +1766,11 @@ Error types: (1) *fmttests.werrMigrated (2) *fmttests.errNoFmt ===== == Message payload × +(1) +Wraps: (2) ×× × --- +Error types: (1) *fmttests.werrMigrated (2) *fmttests.errNoFmt +-- report composition: *fmttests.errNoFmt *fmttests.werrMigrated == Extra "error types" @@ -1654,7 +1778,7 @@ github.com/cockroachdb/errors/fmttests/*fmttests.errNoFmt (*::) github.com/cockroachdb/errors/fmttests/*fmttests.werrMigrated (some/previous/path/prevpkg.prevType::) == Exception 1 (Module: "error domain: ") Type: "*fmttests.errNoFmt" -Title: "×\n×" +Title: "×" (NO STACKTRACE) run @@ -1719,22 +1843,21 @@ Error types: (1) *errutil.withPrefix (2) *fmttests.errNoFmt ===== Sentry reporting ===== == Message payload -outerthree -outerfour: × +outerthree: × +(1) outerthree + | outerfour +Wraps: (2) ×× × --- +Error types: (1) *errutil.withPrefix (2) *fmttests.errNoFmt +-- report composition: *fmttests.errNoFmt -*errutil.withPrefix: outerthree (1) -(check the extra data payloads) -== Extra "1: details" -outerthree - outerfour +*errutil.withPrefix: outerthree == Extra "error types" github.com/cockroachdb/errors/fmttests/*fmttests.errNoFmt (*::) github.com/cockroachdb/errors/errutil/*errutil.withPrefix (*::) == Exception 1 (Module: "error domain: ") Type: "*fmttests.errNoFmt" -Title: "outerthree\nouterfour: ×\n×" +Title: "outerthree: ×" (NO STACKTRACE) run @@ -1876,18 +1999,48 @@ Error types: (1) *withstack.withStack (2) *secondary.withSecondaryError (3) *err ===== == Message payload :: new-style (× -×) :: × -× :: --- +(1) attached stack trace + -- stack trace: + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (2) secondary error attachment + | × + | (1) ×× + | × + | Error types: (1) *fmttests.errNoFmt +Wraps: (3) new-style (× + | ×) :: × + | × :: +Wraps: (4) ×× +× +Error types: (1) *withstack.withStack (2) *secondary.withSecondaryError (3) *errutil.withNewMessage (4) *fmttests.errNoFmt +-- report composition: *fmttests.errNoFmt -*errutil.withNewMessage: new-style (× (1) +*errutil.withNewMessage: new-style (× *secondary.withSecondaryError :: *withstack.withStack (top exception) -(check the extra data payloads) -== Extra "1: details" -new-style (× - ×) :: × - × :: == Extra "error types" github.com/cockroachdb/errors/fmttests/*fmttests.errNoFmt (*::) github.com/cockroachdb/errors/errutil/*errutil.withNewMessage (*::) @@ -1895,7 +2048,7 @@ github.com/cockroachdb/errors/secondary/*secondary.withSecondaryError (*::) github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*fmttests.errNoFmt: new-style (×\n×) :: ×\n× ::\nvia *withstack.withStack" +Title: "*fmttests.errNoFmt: new-style (×\nvia *withstack.withStack" :: (runtime) goexit() :: @@ -1987,10 +2140,13 @@ Error types: (1) *fmttests.werrNoFmt (2) *fmttests.errNoFmt ===== Sentry reporting ===== == Message payload -× ×: × +(1) ×× × --- +Wraps: (2) ×× +× +Error types: (1) *fmttests.werrNoFmt (2) *fmttests.errNoFmt +-- report composition: *fmttests.errNoFmt *fmttests.werrNoFmt == Extra "error types" @@ -1998,7 +2154,7 @@ github.com/cockroachdb/errors/fmttests/*fmttests.errNoFmt (*::) github.com/cockroachdb/errors/fmttests/*fmttests.werrNoFmt (*::) == Exception 1 (Module: "error domain: ") Type: "*fmttests.errNoFmt" -Title: "×\n×: ×\n×" +Title: "×: ×" (NO STACKTRACE) run @@ -2068,8 +2224,11 @@ Error types: (1) *os.LinkError (2) *fmttests.errNoFmt ===== == Message payload link × ×: × +(1) link × × +Wraps: (2) ×× × --- +Error types: (1) *os.LinkError (2) *fmttests.errNoFmt +-- report composition: *fmttests.errNoFmt *os.LinkError == Extra "error types" @@ -2077,7 +2236,7 @@ github.com/cockroachdb/errors/fmttests/*fmttests.errNoFmt (*::) os/*os.LinkError (*::) == Exception 1 (Module: "error domain: ") Type: "*fmttests.errNoFmt" -Title: "link × ×: ×\n×" +Title: "link × ×: ×" (NO STACKTRACE) run @@ -2149,8 +2308,11 @@ Error types: (1) *net.OpError (2) *fmttests.errNoFmt ===== == Message payload send tcp ×: × +(1) send tcp × +Wraps: (2) ×× × --- +Error types: (1) *net.OpError (2) *fmttests.errNoFmt +-- report composition: *fmttests.errNoFmt *net.OpError == Extra "error types" @@ -2158,7 +2320,7 @@ github.com/cockroachdb/errors/fmttests/*fmttests.errNoFmt (*::) net/*net.OpError (*::) == Exception 1 (Module: "error domain: ") Type: "*fmttests.errNoFmt" -Title: "send tcp ×: ×\n×" +Title: "send tcp ×: ×" (NO STACKTRACE) run @@ -2226,8 +2388,11 @@ Error types: (1) *fs.PathError (2) *fmttests.errNoFmt ===== == Message payload link ×: × +(1) link × +Wraps: (2) ×× × --- +Error types: (1) *fs.PathError (2) *fmttests.errNoFmt +-- report composition: *fmttests.errNoFmt *fs.PathError == Extra "error types" @@ -2235,7 +2400,7 @@ github.com/cockroachdb/errors/fmttests/*fmttests.errNoFmt (*::) io/fs/*fs.PathError (os/*os.PathError::) == Exception 1 (Module: "error domain: ") Type: "*fmttests.errNoFmt" -Title: "link ×: ×\n×" +Title: "link ×: ×" (NO STACKTRACE) run @@ -2301,8 +2466,11 @@ Error types: (1) *os.SyscallError (2) *fmttests.errNoFmt ===== == Message payload open: × +(1) open +Wraps: (2) ×× × --- +Error types: (1) *os.SyscallError (2) *fmttests.errNoFmt +-- report composition: *fmttests.errNoFmt *os.SyscallError == Extra "error types" @@ -2310,7 +2478,7 @@ github.com/cockroachdb/errors/fmttests/*fmttests.errNoFmt (*::) os/*os.SyscallError (*::) == Exception 1 (Module: "error domain: ") Type: "*fmttests.errNoFmt" -Title: "open: ×\n×" +Title: "open: ×" (NO STACKTRACE) run @@ -2392,10 +2560,13 @@ Error types: (1) *errors.withMessage (2) *fmttests.errNoFmt ===== Sentry reporting ===== == Message payload -× ×: × +(1) ×× × --- +Wraps: (2) ×× +× +Error types: (1) *errors.withMessage (2) *fmttests.errNoFmt +-- report composition: *fmttests.errNoFmt *errors.withMessage == Extra "error types" @@ -2403,7 +2574,7 @@ github.com/cockroachdb/errors/fmttests/*fmttests.errNoFmt (*::) github.com/pkg/errors/*errors.withMessage (*::) == Exception 1 (Module: "error domain: ") Type: "*fmttests.errNoFmt" -Title: "×\n×: ×\n×" +Title: "×: ×" (NO STACKTRACE) run @@ -2550,8 +2721,36 @@ Error types: (1) *errors.withStack (2) *fmttests.errNoFmt ===== == Message payload :: × +(1) + -- stack trace: + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (2) ×× × --- +Error types: (1) *errors.withStack (2) *fmttests.errNoFmt +-- report composition: *fmttests.errNoFmt :: *errors.withStack (top exception) == Extra "error types" @@ -2559,7 +2758,7 @@ github.com/cockroachdb/errors/fmttests/*fmttests.errNoFmt (*::) github.com/pkg/errors/*errors.withStack (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*fmttests.errNoFmt: ×\n×\nvia *errors.withStack" +Title: "*fmttests.errNoFmt: ×\nvia *errors.withStack" :: (runtime) goexit() :: @@ -2646,20 +2845,20 @@ Error types: (1) *safedetails.withSafeDetails (2) *fmttests.errNoFmt ===== == Message payload × +(1) safe × + | × +Wraps: (2) ×× × --- +Error types: (1) *safedetails.withSafeDetails (2) *fmttests.errNoFmt +-- report composition: *fmttests.errNoFmt -*safedetails.withSafeDetails: safe × (1) -(check the extra data payloads) -== Extra "1: details" -safe × - × +*safedetails.withSafeDetails: safe × == Extra "error types" github.com/cockroachdb/errors/fmttests/*fmttests.errNoFmt (*::) github.com/cockroachdb/errors/safedetails/*safedetails.withSafeDetails (*::) == Exception 1 (Module: "error domain: ") Type: "*fmttests.errNoFmt" -Title: "×\n×" +Title: "×" (NO STACKTRACE) run @@ -2724,10 +2923,13 @@ Error types: (1) *fmttests.werrSafeFormat (2) *fmttests.errNoFmt ===== Sentry reporting ===== == Message payload -safe × -×: × +safe ×: × +(1) safe × + | × +Wraps: (2) ×× × --- +Error types: (1) *fmttests.werrSafeFormat (2) *fmttests.errNoFmt +-- report composition: *fmttests.errNoFmt *fmttests.werrSafeFormat == Extra "error types" @@ -2735,7 +2937,7 @@ github.com/cockroachdb/errors/fmttests/*fmttests.errNoFmt (*::) github.com/cockroachdb/errors/fmttests/*fmttests.werrSafeFormat (*::) == Exception 1 (Module: "error domain: ") Type: "*fmttests.errNoFmt" -Title: "safe ×\n×: ×\n×" +Title: "safe ×: ×" (NO STACKTRACE) run @@ -2744,7 +2946,6 @@ secondary outerthree outerfour require (?s) ---- ----- &secondary.withSecondaryError{ cause: &fmttests.errNoFmt{msg:"innerone\ninnertwo"}, secondaryError: &withstack.withStack{ @@ -2864,50 +3065,50 @@ Error types: (1) *secondary.withSecondaryError (2) *fmttests.errNoFmt ===== == Message payload × +(1) secondary error attachment + | outerthree + | (1) attached stack trace + | -- stack trace: + | | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | | : + | | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | | : + | | github.com/cockroachdb/datadriven.runDirective.func1 + | | : + | | github.com/cockroachdb/datadriven.runDirective + | | : + | | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | | : + | | github.com/cockroachdb/datadriven.runTestInternal + | | : + | | github.com/cockroachdb/datadriven.RunTest + | | : + | | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | | : + | | github.com/cockroachdb/datadriven.Walk + | | : + | | github.com/cockroachdb/datadriven.Walk.func1 + | | : + | | testing.tRunner + | | : + | | runtime.goexit + | | : + | Wraps: (2) outerthree + | | outerfour + | Error types: (1) *withstack.withStack (2) *errutil.leafError +Wraps: (2) ×× × --- +Error types: (1) *secondary.withSecondaryError (2) *fmttests.errNoFmt +-- report composition: *fmttests.errNoFmt -*secondary.withSecondaryError: details for github.com/cockroachdb/errors/withstack/*withstack.withStack::: (1) -(check the extra data payloads) -== Extra "1: details" -details for github.com/cockroachdb/errors/withstack/*withstack.withStack::: - - github.com/cockroachdb/errors/fmttests.glob...funcNN... - : - github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 - : - github.com/cockroachdb/datadriven.runDirective.func1 - : - github.com/cockroachdb/datadriven.runDirective - : - github.com/cockroachdb/datadriven.runDirectiveOrSubTest - : - github.com/cockroachdb/datadriven.runTestInternal - : - github.com/cockroachdb/datadriven.RunTest - : - github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 - : - github.com/cockroachdb/datadriven.Walk - : - github.com/cockroachdb/datadriven.Walk.func1 - : - testing.tRunner - : - runtime.goexit - : -details for github.com/cockroachdb/errors/errutil/*errutil.leafError::: - outerthree - outerfour +*secondary.withSecondaryError: details for github.com/cockroachdb/errors/withstack/*withstack.withStack::: == Extra "error types" github.com/cockroachdb/errors/fmttests/*fmttests.errNoFmt (*::) github.com/cockroachdb/errors/secondary/*secondary.withSecondaryError (*::) == Exception 1 (Module: "error domain: ") Type: "*fmttests.errNoFmt" -Title: "×\n×" +Title: "×" (NO STACKTRACE) ----- ----- run nofmt innerone innertwo @@ -3018,8 +3219,36 @@ Error types: (1) *withstack.withStack (2) *fmttests.errNoFmt ===== == Message payload :: × +(1) attached stack trace + -- stack trace: + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (2) ×× × --- +Error types: (1) *withstack.withStack (2) *fmttests.errNoFmt +-- report composition: *fmttests.errNoFmt :: *withstack.withStack (top exception) == Extra "error types" @@ -3027,7 +3256,7 @@ github.com/cockroachdb/errors/fmttests/*fmttests.errNoFmt (*::) github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*fmttests.errNoFmt: ×\n×\nvia *withstack.withStack" +Title: "*fmttests.errNoFmt: ×\nvia *withstack.withStack" :: (runtime) goexit() :: @@ -3168,20 +3397,19 @@ Error types: (1) *contexttags.withContext (2) *fmttests.errNoFmt ===== == Message payload × +(1) tags: [k×,safe=456] +Wraps: (2) ×× × --- +Error types: (1) *contexttags.withContext (2) *fmttests.errNoFmt +-- report composition: *fmttests.errNoFmt -*contexttags.withContext: k× (1) -(check the extra data payloads) -== Extra "1: details" -k× -safe=456 +*contexttags.withContext: k× == Extra "error types" github.com/cockroachdb/errors/fmttests/*fmttests.errNoFmt (*::) github.com/cockroachdb/errors/contexttags/*contexttags.withContext (*::) == Exception 1 (Module: "error domain: ") Type: "*fmttests.errNoFmt" -Title: "×\n×" +Title: "×" (NO STACKTRACE) run @@ -3245,21 +3473,20 @@ Error types: (1) *telemetrykeys.withTelemetry (2) *fmttests.errNoFmt ===== == Message payload × +(1) keys: [somekey outerthree + | outerfour] +Wraps: (2) ×× × --- +Error types: (1) *telemetrykeys.withTelemetry (2) *fmttests.errNoFmt +-- report composition: *fmttests.errNoFmt -*telemetrykeys.withTelemetry: somekey (1) -(check the extra data payloads) -== Extra "1: details" -somekey -outerthree - outerfour +*telemetrykeys.withTelemetry: somekey == Extra "error types" github.com/cockroachdb/errors/fmttests/*fmttests.errNoFmt (*::) github.com/cockroachdb/errors/telemetrykeys/*telemetrykeys.withTelemetry (*::) == Exception 1 (Module: "error domain: ") Type: "*fmttests.errNoFmt" -Title: "×\n×" +Title: "×" (NO STACKTRACE) run @@ -3382,24 +3609,49 @@ Error types: (1) *withstack.withStack (2) *errutil.withPrefix (3) *fmttests.errN ===== Sentry reporting ===== == Message payload -:: new-stylew × -×: × +:: new-stylew ×: × +(1) attached stack trace + -- stack trace: + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (2) new-stylew × + | × +Wraps: (3) ×× × --- +Error types: (1) *withstack.withStack (2) *errutil.withPrefix (3) *fmttests.errNoFmt +-- report composition: *fmttests.errNoFmt -*errutil.withPrefix: new-stylew × (1) +*errutil.withPrefix: new-stylew × :: *withstack.withStack (top exception) -(check the extra data payloads) -== Extra "1: details" -new-stylew × - × == Extra "error types" github.com/cockroachdb/errors/fmttests/*fmttests.errNoFmt (*::) github.com/cockroachdb/errors/errutil/*errutil.withPrefix (*::) github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*fmttests.errNoFmt: new-stylew ×\n×: ×\n×\nvia *withstack.withStack" +Title: "*fmttests.errNoFmt: new-stylew ×: ×\nvia *withstack.withStack" :: (runtime) goexit() :: @@ -3431,7 +3683,6 @@ wrapf-attached outerthree outerfour require (?s)outerthree.*outerfour.* ---- ----- &withstack.withStack{ cause: &secondary.withSecondaryError{ cause: &errutil.withPrefix{ @@ -3618,47 +3869,73 @@ Error types: (1) *withstack.withStack (2) *secondary.withSecondaryError (3) *err ===== Sentry reporting ===== == Message payload -:: new-style × -× (payload): × +:: new-style ×: × +(1) attached stack trace + -- stack trace: + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (2) secondary error attachment + | payload + | (1) attached stack trace + | -- stack trace: + | | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | | : + | | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | | : + | | github.com/cockroachdb/datadriven.runDirective.func1 + | | : + | | github.com/cockroachdb/datadriven.runDirective + | | : + | | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | | : + | | github.com/cockroachdb/datadriven.runTestInternal + | | : + | | github.com/cockroachdb/datadriven.RunTest + | | : + | | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | | : + | | github.com/cockroachdb/datadriven.Walk + | | : + | | github.com/cockroachdb/datadriven.Walk.func1 + | | : + | | testing.tRunner + | | : + | | runtime.goexit + | | : + | Wraps: (2) payload + | Error types: (1) *withstack.withStack (2) *errutil.leafError +Wraps: (3) new-style × + | × (payload) +Wraps: (4) ×× × --- +Error types: (1) *withstack.withStack (2) *secondary.withSecondaryError (3) *errutil.withPrefix (4) *fmttests.errNoFmt +-- report composition: *fmttests.errNoFmt -*errutil.withPrefix: new-style × (1) -*secondary.withSecondaryError: details for github.com/cockroachdb/errors/withstack/*withstack.withStack::: (2) +*errutil.withPrefix: new-style × +*secondary.withSecondaryError: details for github.com/cockroachdb/errors/withstack/*withstack.withStack::: :: *withstack.withStack (top exception) -(check the extra data payloads) -== Extra "1: details" -new-style × - × (payload) -== Extra "2: details" -details for github.com/cockroachdb/errors/withstack/*withstack.withStack::: - - github.com/cockroachdb/errors/fmttests.glob...funcNN... - : - github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 - : - github.com/cockroachdb/datadriven.runDirective.func1 - : - github.com/cockroachdb/datadriven.runDirective - : - github.com/cockroachdb/datadriven.runDirectiveOrSubTest - : - github.com/cockroachdb/datadriven.runTestInternal - : - github.com/cockroachdb/datadriven.RunTest - : - github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 - : - github.com/cockroachdb/datadriven.Walk - : - github.com/cockroachdb/datadriven.Walk.func1 - : - testing.tRunner - : - runtime.goexit - : -details for github.com/cockroachdb/errors/errutil/*errutil.leafError::: - payload == Extra "error types" github.com/cockroachdb/errors/fmttests/*fmttests.errNoFmt (*::) github.com/cockroachdb/errors/errutil/*errutil.withPrefix (*::) @@ -3666,7 +3943,7 @@ github.com/cockroachdb/errors/secondary/*secondary.withSecondaryError (*::) github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*fmttests.errNoFmt: new-style ×\n× (payload): ×\n×\nvia *withstack.withStack" +Title: "*fmttests.errNoFmt: new-style ×: ×\nvia *withstack.withStack" :: (runtime) goexit() :: @@ -3691,5 +3968,3 @@ Title: "*fmttests.errNoFmt: new-style ×\n× (payload): ×\n×\nvia *withstack.w (github.com/cockroachdb/errors/fmttests.TestDatadriven.func2) 1() :: (github.com/cockroachdb/errors/fmttests.glob.)...funcNN... ----- ----- diff --git a/fmttests/testdata/format/wrap-nofmt-via-network b/fmttests/testdata/format/wrap-nofmt-via-network index 0500ec4..2ae7344 100644 --- a/fmttests/testdata/format/wrap-nofmt-via-network +++ b/fmttests/testdata/format/wrap-nofmt-via-network @@ -7,8 +7,8 @@ require (?s)innerone.*innertwo ---- &assert.withAssertionFailure{ cause: &errbase.opaqueWrapper{ - cause: &barriers.barrierError{ - msg: "innerone\ninnertwo", + cause: &barriers.barrierErr{ + smsg: "‹innerone›\n‹innertwo›", maskedErr: &errbase.opaqueLeaf{ msg: "innerone\ninnertwo", details: errorspb.EncodedErrorDetails{ @@ -34,8 +34,8 @@ require (?s)innerone.*innertwo == %#v &assert.withAssertionFailure{ cause: &errbase.opaqueWrapper{ - cause: &barriers.barrierError{ - msg: "innerone\ninnertwo", + cause: &barriers.barrierErr{ + smsg: "‹innerone›\n‹innertwo›", maskedErr: &errbase.opaqueLeaf{ msg: "innerone\ninnertwo", details: errorspb.EncodedErrorDetails{ @@ -105,7 +105,7 @@ Wraps: (3) innerone | | (opaque error leaf) | | type name: github.com/cockroachdb/errors/fmttests/*fmttests.errNoFmt | Error types: (1) *errbase.opaqueLeaf -Error types: (1) *assert.withAssertionFailure (2) *errbase.opaqueWrapper (3) *barriers.barrierError +Error types: (1) *assert.withAssertionFailure (2) *errbase.opaqueWrapper (3) *barriers.barrierErr == %#v via Formattable() = %#v, good == %v via Formattable() = Error(), good == %s via Formattable() = %v via Formattable(), good @@ -164,24 +164,64 @@ Wraps: (3) ‹innerone› | | (opaque error leaf) | | type name: github.com/cockroachdb/errors/fmttests/*fmttests.errNoFmt | Error types: (1) *errbase.opaqueLeaf -Error types: (1) *assert.withAssertionFailure (2) *errbase.opaqueWrapper (3) *barriers.barrierError +Error types: (1) *assert.withAssertionFailure (2) *errbase.opaqueWrapper (3) *barriers.barrierErr ===== ===== Sentry reporting ===== == Message payload :: × -× --- -*barriers.barrierError +(1) assertion failure +Wraps: (2) + | (opaque error wrapper) + | type name: github.com/cockroachdb/errors/withstack/*withstack.withStack + | reportable 0: + | + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (3) × + | × + | -- cause hidden behind barrier + | × + | (1) × + | | × + | | + | | (opaque error leaf) + | | type name: github.com/cockroachdb/errors/fmttests/*fmttests.errNoFmt + | Error types: (1) *errbase.opaqueLeaf +Error types: (1) *assert.withAssertionFailure (2) *errbase.opaqueWrapper (3) *barriers.barrierErr +-- report composition: +*barriers.barrierErr: masked error: × :: *withstack.withStack (top exception) *assert.withAssertionFailure == Extra "error types" -github.com/cockroachdb/errors/barriers/*barriers.barrierError (*::) +github.com/cockroachdb/errors/barriers/*barriers.barrierErr (*::) github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) github.com/cockroachdb/errors/assert/*assert.withAssertionFailure (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*barriers.barrierError: ×\n×\nvia *withstack.withStack" +Title: "*barriers.barrierErr: ×\nvia *withstack.withStack" :: (runtime) goexit() :: @@ -217,8 +257,8 @@ require (?s)outerthree.*outerfour.*innerone.*innertwo &assert.withAssertionFailure{ cause: &errbase.opaqueWrapper{ cause: &errutil.withPrefix{ - cause: &barriers.barrierError{ - msg: "innerone\ninnertwo", + cause: &barriers.barrierErr{ + smsg: "‹innerone›\n‹innertwo›", maskedErr: &errbase.opaqueLeaf{ msg: "innerone\ninnertwo", details: errorspb.EncodedErrorDetails{ @@ -247,8 +287,8 @@ require (?s)outerthree.*outerfour.*innerone.*innertwo &assert.withAssertionFailure{ cause: &errbase.opaqueWrapper{ cause: &errutil.withPrefix{ - cause: &barriers.barrierError{ - msg: "innerone\ninnertwo", + cause: &barriers.barrierErr{ + smsg: "‹innerone›\n‹innertwo›", maskedErr: &errbase.opaqueLeaf{ msg: "innerone\ninnertwo", details: errorspb.EncodedErrorDetails{ @@ -323,7 +363,7 @@ Wraps: (4) innerone | | (opaque error leaf) | | type name: github.com/cockroachdb/errors/fmttests/*fmttests.errNoFmt | Error types: (1) *errbase.opaqueLeaf -Error types: (1) *assert.withAssertionFailure (2) *errbase.opaqueWrapper (3) *errutil.withPrefix (4) *barriers.barrierError +Error types: (1) *assert.withAssertionFailure (2) *errbase.opaqueWrapper (3) *errutil.withPrefix (4) *barriers.barrierErr == %#v via Formattable() = %#v, good == %v via Formattable() = Error(), good == %s via Formattable() = %v via Formattable(), good @@ -385,31 +425,68 @@ Wraps: (4) ‹innerone› | | (opaque error leaf) | | type name: github.com/cockroachdb/errors/fmttests/*fmttests.errNoFmt | Error types: (1) *errbase.opaqueLeaf -Error types: (1) *assert.withAssertionFailure (2) *errbase.opaqueWrapper (3) *errutil.withPrefix (4) *barriers.barrierError +Error types: (1) *assert.withAssertionFailure (2) *errbase.opaqueWrapper (3) *errutil.withPrefix (4) *barriers.barrierErr ===== ===== Sentry reporting ===== == Message payload -:: assertmsg: × -×: × -× --- -*barriers.barrierError -*errutil.withPrefix: assertmsg: × (1) +:: assertmsg: ×: × +(1) assertion failure +Wraps: (2) + | (opaque error wrapper) + | type name: github.com/cockroachdb/errors/withstack/*withstack.withStack + | reportable 0: + | + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (3) assertmsg: × + | × +Wraps: (4) × + | × + | -- cause hidden behind barrier + | × + | (1) × + | | × + | | + | | (opaque error leaf) + | | type name: github.com/cockroachdb/errors/fmttests/*fmttests.errNoFmt + | Error types: (1) *errbase.opaqueLeaf +Error types: (1) *assert.withAssertionFailure (2) *errbase.opaqueWrapper (3) *errutil.withPrefix (4) *barriers.barrierErr +-- report composition: +*barriers.barrierErr: masked error: × +*errutil.withPrefix: assertmsg: × :: *withstack.withStack (top exception) *assert.withAssertionFailure -(check the extra data payloads) -== Extra "1: details" -assertmsg: × - × == Extra "error types" -github.com/cockroachdb/errors/barriers/*barriers.barrierError (*::) +github.com/cockroachdb/errors/barriers/*barriers.barrierErr (*::) github.com/cockroachdb/errors/errutil/*errutil.withPrefix (*::) github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) github.com/cockroachdb/errors/assert/*assert.withAssertionFailure (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*barriers.barrierError: assertmsg: ×\n×: ×\n×\nvia *withstack.withStack" +Title: "*barriers.barrierErr: assertmsg: ×: ×\nvia *withstack.withStack" :: (runtime) goexit() :: @@ -442,8 +519,8 @@ opaque require (?s)innerone.*innertwo ---- -&barriers.barrierError{ - msg: "innerone\ninnertwo", +&barriers.barrierErr{ + smsg: "‹innerone›\n‹innertwo›", maskedErr: &errbase.opaqueLeaf{ msg: "innerone\ninnertwo", details: errorspb.EncodedErrorDetails{ @@ -458,8 +535,8 @@ require (?s)innerone.*innertwo ===== non-redactable formats ===== == %#v -&barriers.barrierError{ - msg: "innerone\ninnertwo", +&barriers.barrierErr{ + smsg: "‹innerone›\n‹innertwo›", maskedErr: &errbase.opaqueLeaf{ msg: "innerone\ninnertwo", details: errorspb.EncodedErrorDetails{ @@ -490,7 +567,7 @@ innerone | | (opaque error leaf) | | type name: github.com/cockroachdb/errors/fmttests/*fmttests.errNoFmt | Error types: (1) *errbase.opaqueLeaf -Error types: (1) *barriers.barrierError +Error types: (1) *barriers.barrierErr == %#v via Formattable() = %#v, good == %v via Formattable() = Error(), good == %s via Formattable() = %v via Formattable(), good @@ -519,20 +596,30 @@ Error types: (1) *barriers.barrierError | | (opaque error leaf) | | type name: github.com/cockroachdb/errors/fmttests/*fmttests.errNoFmt | Error types: (1) *errbase.opaqueLeaf -Error types: (1) *barriers.barrierError +Error types: (1) *barriers.barrierErr ===== ===== Sentry reporting ===== == Message payload × -× --- -*barriers.barrierError +(1) × + | × + | -- cause hidden behind barrier + | × + | (1) × + | | × + | | + | | (opaque error leaf) + | | type name: github.com/cockroachdb/errors/fmttests/*fmttests.errNoFmt + | Error types: (1) *errbase.opaqueLeaf +Error types: (1) *barriers.barrierErr +-- report composition: +*barriers.barrierErr: masked error: × == Extra "error types" -github.com/cockroachdb/errors/barriers/*barriers.barrierError (*::) +github.com/cockroachdb/errors/barriers/*barriers.barrierErr (*::) == Exception 1 (Module: "error domain: ") -Type: "*barriers.barrierError" -Title: "×\n×" +Type: "*barriers.barrierErr" +Title: "×" (NO STACKTRACE) run @@ -638,10 +725,19 @@ Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueLeaf ===== Sentry reporting ===== == Message payload -× ×: × -× --- +(1) × + | × + | + | (opaque error wrapper) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.werrDelegate +Wraps: (2) × + | × + | + | (opaque error leaf) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.errNoFmt +Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueLeaf +-- report composition: *fmttests.errNoFmt *fmttests.werrDelegate == Extra "error types" @@ -649,7 +745,7 @@ github.com/cockroachdb/errors/fmttests/*fmttests.errNoFmt (*::) github.com/cockroachdb/errors/fmttests/*fmttests.werrDelegate (*::) == Exception 1 (Module: "error domain: ") Type: "*fmttests.errNoFmt" -Title: "×\n×: ×\n×" +Title: "×: ×" (NO STACKTRACE) run @@ -750,8 +846,16 @@ Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueLeaf ===== == Message payload × -× --- +(1) + | (opaque error wrapper) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.werrDelegateEmpty +Wraps: (2) × + | × + | + | (opaque error leaf) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.errNoFmt +Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueLeaf +-- report composition: *fmttests.errNoFmt *fmttests.werrDelegateEmpty == Extra "error types" @@ -759,7 +863,7 @@ github.com/cockroachdb/errors/fmttests/*fmttests.errNoFmt (*::) github.com/cockroachdb/errors/fmttests/*fmttests.werrDelegateEmpty (*::) == Exception 1 (Module: "error domain: ") Type: "*fmttests.errNoFmt" -Title: "×\n×" +Title: "×" (NO STACKTRACE) run @@ -860,8 +964,16 @@ Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueLeaf ===== == Message payload × -× --- +(1) + | (opaque error wrapper) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.werrDelegateNoPrefix +Wraps: (2) × + | × + | + | (opaque error leaf) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.errNoFmt +Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueLeaf +-- report composition: *fmttests.errNoFmt *fmttests.werrDelegateNoPrefix == Extra "error types" @@ -869,7 +981,7 @@ github.com/cockroachdb/errors/fmttests/*fmttests.errNoFmt (*::) github.com/cockroachdb/errors/fmttests/*fmttests.werrDelegateNoPrefix (*::) == Exception 1 (Module: "error domain: ") Type: "*fmttests.errNoFmt" -Title: "×\n×" +Title: "×" (NO STACKTRACE) run @@ -956,8 +1068,15 @@ Error types: (1) *hintdetail.withDetail (2) *errbase.opaqueLeaf ===== == Message payload × +(1) × × --- +Wraps: (2) × + | × + | + | (opaque error leaf) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.errNoFmt +Error types: (1) *hintdetail.withDetail (2) *errbase.opaqueLeaf +-- report composition: *fmttests.errNoFmt *hintdetail.withDetail == Extra "error types" @@ -965,7 +1084,7 @@ github.com/cockroachdb/errors/fmttests/*fmttests.errNoFmt (*::) github.com/cockroachdb/errors/hintdetail/*hintdetail.withDetail (*::) == Exception 1 (Module: "error domain: ") Type: "*fmttests.errNoFmt" -Title: "×\n×" +Title: "×" (NO STACKTRACE) run @@ -1050,19 +1169,22 @@ Error types: (1) *domains.withDomain (2) *errbase.opaqueLeaf ===== == Message payload × -× --- +(1) mydomain +Wraps: (2) × + | × + | + | (opaque error leaf) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.errNoFmt +Error types: (1) *domains.withDomain (2) *errbase.opaqueLeaf +-- report composition: *fmttests.errNoFmt -*domains.withDomain: mydomain (1) -(check the extra data payloads) -== Extra "1: details" -mydomain +*domains.withDomain: mydomain == Extra "error types" github.com/cockroachdb/errors/fmttests/*fmttests.errNoFmt (*::) github.com/cockroachdb/errors/domains/*domains.withDomain (*::mydomain) == Exception 1 (Module: "mydomain") Type: "*fmttests.errNoFmt" -Title: "×\n×" +Title: "×" (NO STACKTRACE) run @@ -1149,8 +1271,15 @@ Error types: (1) *fmttests.werrWithElidedCause (2) *errbase.opaqueLeaf ===== == Message payload × +(1) ×× × --- +Wraps: (2) × + | × + | + | (opaque error leaf) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.errNoFmt +Error types: (1) *fmttests.werrWithElidedCause (2) *errbase.opaqueLeaf +-- report composition: *fmttests.errNoFmt *fmttests.werrWithElidedCause == Extra "error types" @@ -1158,7 +1287,7 @@ github.com/cockroachdb/errors/fmttests/*fmttests.errNoFmt (*::) github.com/cockroachdb/errors/fmttests/*fmttests.werrWithElidedCause (*::) == Exception 1 (Module: "error domain: ") Type: "*fmttests.errNoFmt" -Title: "×\n×" +Title: "×" (NO STACKTRACE) run @@ -1259,8 +1388,16 @@ Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueLeaf ===== == Message payload × -× --- +(1) + | (opaque error wrapper) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.werrEmpty +Wraps: (2) × + | × + | + | (opaque error leaf) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.errNoFmt +Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueLeaf +-- report composition: *fmttests.errNoFmt *fmttests.werrEmpty == Extra "error types" @@ -1268,7 +1405,7 @@ github.com/cockroachdb/errors/fmttests/*fmttests.errNoFmt (*::) github.com/cockroachdb/errors/fmttests/*fmttests.werrEmpty (*::) == Exception 1 (Module: "error domain: ") Type: "*fmttests.errNoFmt" -Title: "×\n×" +Title: "×" (NO STACKTRACE) run @@ -1374,10 +1511,19 @@ Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueLeaf ===== Sentry reporting ===== == Message payload -× ×: × -× --- +(1) × + | × + | + | (opaque error wrapper) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.werrFmt +Wraps: (2) × + | × + | + | (opaque error leaf) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.errNoFmt +Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueLeaf +-- report composition: *fmttests.errNoFmt *fmttests.werrFmt == Extra "error types" @@ -1385,7 +1531,7 @@ github.com/cockroachdb/errors/fmttests/*fmttests.errNoFmt (*::) github.com/cockroachdb/errors/fmttests/*fmttests.werrFmt (*::) == Exception 1 (Module: "error domain: ") Type: "*fmttests.errNoFmt" -Title: "×\n×: ×\n×" +Title: "×: ×" (NO STACKTRACE) run @@ -1494,10 +1640,19 @@ Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueLeaf ===== Sentry reporting ===== == Message payload -× ×: × -× --- +(1) × + | × + | + | (opaque error wrapper) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.werrFmto +Wraps: (2) × + | × + | + | (opaque error leaf) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.errNoFmt +Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueLeaf +-- report composition: *fmttests.errNoFmt *fmttests.werrFmto == Extra "error types" @@ -1505,7 +1660,7 @@ github.com/cockroachdb/errors/fmttests/*fmttests.errNoFmt (*::) github.com/cockroachdb/errors/fmttests/*fmttests.werrFmto (*::) == Exception 1 (Module: "error domain: ") Type: "*fmttests.errNoFmt" -Title: "×\n×: ×\n×" +Title: "×: ×" (NO STACKTRACE) run @@ -1614,10 +1769,19 @@ Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueLeaf ===== Sentry reporting ===== == Message payload -× ×: × -× --- +(1) × + | × + | + | (opaque error wrapper) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.werrFmtoDelegate +Wraps: (2) × + | × + | + | (opaque error leaf) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.errNoFmt +Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueLeaf +-- report composition: *fmttests.errNoFmt *fmttests.werrFmtoDelegate == Extra "error types" @@ -1625,7 +1789,7 @@ github.com/cockroachdb/errors/fmttests/*fmttests.errNoFmt (*::) github.com/cockroachdb/errors/fmttests/*fmttests.werrFmtoDelegate (*::) == Exception 1 (Module: "error domain: ") Type: "*fmttests.errNoFmt" -Title: "×\n×: ×\n×" +Title: "×: ×" (NO STACKTRACE) run @@ -1731,10 +1895,19 @@ Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueLeaf ===== Sentry reporting ===== == Message payload -× ×: × -× --- +(1) × + | × + | + | (opaque error wrapper) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.werrFmtp +Wraps: (2) × + | × + | + | (opaque error leaf) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.errNoFmt +Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueLeaf +-- report composition: *fmttests.errNoFmt *fmttests.werrFmtp == Extra "error types" @@ -1742,7 +1915,7 @@ github.com/cockroachdb/errors/fmttests/*fmttests.errNoFmt (*::) github.com/cockroachdb/errors/fmttests/*fmttests.werrFmtp (*::) == Exception 1 (Module: "error domain: ") Type: "*fmttests.errNoFmt" -Title: "×\n×: ×\n×" +Title: "×: ×" (NO STACKTRACE) run @@ -1851,10 +2024,19 @@ Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueLeaf ===== Sentry reporting ===== == Message payload -× ×: × -× --- +(1) × + | × + | + | (opaque error wrapper) + | type name: fmt/*fmt.wrapError +Wraps: (2) × + | × + | + | (opaque error leaf) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.errNoFmt +Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueLeaf +-- report composition: *fmttests.errNoFmt *fmt.wrapError == Extra "error types" @@ -1862,7 +2044,7 @@ github.com/cockroachdb/errors/fmttests/*fmttests.errNoFmt (*::) fmt/*fmt.wrapError (*::) == Exception 1 (Module: "error domain: ") Type: "*fmttests.errNoFmt" -Title: "×\n×: ×\n×" +Title: "×: ×" (NO STACKTRACE) run @@ -1873,8 +2055,8 @@ opaque require (?s)innerone.*innertwo ---- &domains.withDomain{ - cause: &barriers.barrierError{ - msg: "innerone\ninnertwo", + cause: &barriers.barrierErr{ + smsg: "‹innerone›\n‹innertwo›", maskedErr: &errbase.opaqueLeaf{ msg: "innerone\ninnertwo", details: errorspb.EncodedErrorDetails{ @@ -1892,8 +2074,8 @@ require (?s)innerone.*innertwo ===== == %#v &domains.withDomain{ - cause: &barriers.barrierError{ - msg: "innerone\ninnertwo", + cause: &barriers.barrierErr{ + smsg: "‹innerone›\n‹innertwo›", maskedErr: &errbase.opaqueLeaf{ msg: "innerone\ninnertwo", details: errorspb.EncodedErrorDetails{ @@ -1927,7 +2109,7 @@ Wraps: (2) innerone | | (opaque error leaf) | | type name: github.com/cockroachdb/errors/fmttests/*fmttests.errNoFmt | Error types: (1) *errbase.opaqueLeaf -Error types: (1) *domains.withDomain (2) *barriers.barrierError +Error types: (1) *domains.withDomain (2) *barriers.barrierErr == %#v via Formattable() = %#v, good == %v via Formattable() = Error(), good == %s via Formattable() = %v via Formattable(), good @@ -1957,25 +2139,33 @@ Wraps: (2) ‹innerone› | | (opaque error leaf) | | type name: github.com/cockroachdb/errors/fmttests/*fmttests.errNoFmt | Error types: (1) *errbase.opaqueLeaf -Error types: (1) *domains.withDomain (2) *barriers.barrierError +Error types: (1) *domains.withDomain (2) *barriers.barrierErr ===== ===== Sentry reporting ===== == Message payload × -× --- -*barriers.barrierError -*domains.withDomain: error domain: pkg (1) -(check the extra data payloads) -== Extra "1: details" -error domain: pkg +(1) error domain: pkg +Wraps: (2) × + | × + | -- cause hidden behind barrier + | × + | (1) × + | | × + | | + | | (opaque error leaf) + | | type name: github.com/cockroachdb/errors/fmttests/*fmttests.errNoFmt + | Error types: (1) *errbase.opaqueLeaf +Error types: (1) *domains.withDomain (2) *barriers.barrierErr +-- report composition: +*barriers.barrierErr: masked error: × +*domains.withDomain: error domain: pkg == Extra "error types" -github.com/cockroachdb/errors/barriers/*barriers.barrierError (*::) +github.com/cockroachdb/errors/barriers/*barriers.barrierErr (*::) github.com/cockroachdb/errors/domains/*domains.withDomain (*::error domain: pkg ) == Exception 1 (Module: "error domain: pkg ") -Type: "*barriers.barrierError" -Title: "×\n×" +Type: "*barriers.barrierErr" +Title: "×" (NO STACKTRACE) run @@ -2062,8 +2252,15 @@ Error types: (1) *hintdetail.withHint (2) *errbase.opaqueLeaf ===== == Message payload × +(1) × × --- +Wraps: (2) × + | × + | + | (opaque error leaf) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.errNoFmt +Error types: (1) *hintdetail.withHint (2) *errbase.opaqueLeaf +-- report composition: *fmttests.errNoFmt *hintdetail.withHint == Extra "error types" @@ -2071,7 +2268,7 @@ github.com/cockroachdb/errors/fmttests/*fmttests.errNoFmt (*::) github.com/cockroachdb/errors/hintdetail/*hintdetail.withHint (*::) == Exception 1 (Module: "error domain: ") Type: "*fmttests.errNoFmt" -Title: "×\n×" +Title: "×" (NO STACKTRACE) run @@ -2160,21 +2357,24 @@ Error types: (1) *issuelink.withIssueLink (2) *errbase.opaqueLeaf ===== == Message payload × -× --- +(1) issue: https://mysite + | detail: outerthree + | outerfour +Wraps: (2) × + | × + | + | (opaque error leaf) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.errNoFmt +Error types: (1) *issuelink.withIssueLink (2) *errbase.opaqueLeaf +-- report composition: *fmttests.errNoFmt -*issuelink.withIssueLink: https://mysite (1) -(check the extra data payloads) -== Extra "1: details" -https://mysite -outerthree - outerfour +*issuelink.withIssueLink: https://mysite == Extra "error types" github.com/cockroachdb/errors/fmttests/*fmttests.errNoFmt (*::) github.com/cockroachdb/errors/issuelink/*issuelink.withIssueLink (*::) == Exception 1 (Module: "error domain: ") Type: "*fmttests.errNoFmt" -Title: "×\n×" +Title: "×" (NO STACKTRACE) run @@ -2275,8 +2475,16 @@ Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueLeaf ===== == Message payload × -× --- +(1) + | (opaque error wrapper) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.werrMigrated +Wraps: (2) × + | × + | + | (opaque error leaf) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.errNoFmt +Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueLeaf +-- report composition: *fmttests.errNoFmt *fmttests.werrMigrated == Extra "error types" @@ -2284,7 +2492,7 @@ github.com/cockroachdb/errors/fmttests/*fmttests.errNoFmt (*::) github.com/cockroachdb/errors/fmttests/*fmttests.werrMigrated (some/previous/path/prevpkg.prevType::) == Exception 1 (Module: "error domain: ") Type: "*fmttests.errNoFmt" -Title: "×\n×" +Title: "×" (NO STACKTRACE) run @@ -2372,22 +2580,24 @@ Error types: (1) *errutil.withPrefix (2) *errbase.opaqueLeaf ===== Sentry reporting ===== == Message payload -outerthree -outerfour: × -× --- +outerthree: × +(1) outerthree + | outerfour +Wraps: (2) × + | × + | + | (opaque error leaf) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.errNoFmt +Error types: (1) *errutil.withPrefix (2) *errbase.opaqueLeaf +-- report composition: *fmttests.errNoFmt -*errutil.withPrefix: outerthree (1) -(check the extra data payloads) -== Extra "1: details" -outerthree - outerfour +*errutil.withPrefix: outerthree == Extra "error types" github.com/cockroachdb/errors/fmttests/*fmttests.errNoFmt (*::) github.com/cockroachdb/errors/errutil/*errutil.withPrefix (*::) == Exception 1 (Module: "error domain: ") Type: "*fmttests.errNoFmt" -Title: "outerthree\nouterfour: ×\n×" +Title: "outerthree: ×" (NO STACKTRACE) run @@ -2592,33 +2802,72 @@ Error types: (1) *errbase.opaqueWrapper (2) *secondary.withSecondaryError (3) *e ===== == Message payload :: new-style (× -×) :: × -× :: --- -*fmttests.errNoFmt -*errutil.withNewMessage: new-style (× (1) -*secondary.withSecondaryError -:: *withstack.withStack (top exception) -(check the extra data payloads) -== Extra "1: details" -new-style (× - ×) :: × - × :: -== Extra "error types" -github.com/cockroachdb/errors/fmttests/*fmttests.errNoFmt (*::) -github.com/cockroachdb/errors/errutil/*errutil.withNewMessage (*::) -github.com/cockroachdb/errors/secondary/*secondary.withSecondaryError (*::) -github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) -== Exception 1 (Module: "error domain: ") -Type: ": ...funcNN... -Title: "*fmttests.errNoFmt: new-style (×\n×) :: ×\n× ::\nvia *withstack.withStack" -:: - (runtime) goexit() -:: - (testing) tRunner() -:: - (github.com/cockroachdb/datadriven.Walk)...funcNN... -:: +(1) + | (opaque error wrapper) + | type name: github.com/cockroachdb/errors/withstack/*withstack.withStack + | reportable 0: + | + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (2) secondary error attachment + | × + | (1) × + | | × + | | + | | (opaque error leaf) + | | type name: github.com/cockroachdb/errors/fmttests/*fmttests.errNoFmt + | Error types: (1) *errbase.opaqueLeaf +Wraps: (3) new-style (× + | ×) :: × + | × :: +Wraps: (4) × + | × + | + | (opaque error leaf) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.errNoFmt +Error types: (1) *errbase.opaqueWrapper (2) *secondary.withSecondaryError (3) *errutil.withNewMessage (4) *errbase.opaqueLeaf +-- report composition: +*fmttests.errNoFmt +*errutil.withNewMessage: new-style (× +*secondary.withSecondaryError +:: *withstack.withStack (top exception) +== Extra "error types" +github.com/cockroachdb/errors/fmttests/*fmttests.errNoFmt (*::) +github.com/cockroachdb/errors/errutil/*errutil.withNewMessage (*::) +github.com/cockroachdb/errors/secondary/*secondary.withSecondaryError (*::) +github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) +== Exception 1 (Module: "error domain: ") +Type: ": ...funcNN... +Title: "*fmttests.errNoFmt: new-style (×\nvia *withstack.withStack" +:: + (runtime) goexit() +:: + (testing) tRunner() +:: + (github.com/cockroachdb/datadriven.Walk)...funcNN... +:: (github.com/cockroachdb/datadriven) Walk() :: (github.com/cockroachdb/errors/fmttests.TestDatadriven)...funcNN... @@ -2743,10 +2992,19 @@ Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueLeaf ===== Sentry reporting ===== == Message payload -× ×: × -× --- +(1) × + | × + | + | (opaque error wrapper) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.werrNoFmt +Wraps: (2) × + | × + | + | (opaque error leaf) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.errNoFmt +Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueLeaf +-- report composition: *fmttests.errNoFmt *fmttests.werrNoFmt == Extra "error types" @@ -2754,7 +3012,7 @@ github.com/cockroachdb/errors/fmttests/*fmttests.errNoFmt (*::) github.com/cockroachdb/errors/fmttests/*fmttests.werrNoFmt (*::) == Exception 1 (Module: "error domain: ") Type: "*fmttests.errNoFmt" -Title: "×\n×: ×\n×" +Title: "×: ×" (NO STACKTRACE) run @@ -2855,8 +3113,14 @@ Error types: (1) *os.LinkError (2) *errbase.opaqueLeaf ===== == Message payload link × ×: × -× --- +(1) link × × +Wraps: (2) × + | × + | + | (opaque error leaf) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.errNoFmt +Error types: (1) *os.LinkError (2) *errbase.opaqueLeaf +-- report composition: *fmttests.errNoFmt *os.LinkError == Extra "error types" @@ -2864,7 +3128,7 @@ github.com/cockroachdb/errors/fmttests/*fmttests.errNoFmt (*::) os/*os.LinkError (*::) == Exception 1 (Module: "error domain: ") Type: "*fmttests.errNoFmt" -Title: "link × ×: ×\n×" +Title: "link × ×: ×" (NO STACKTRACE) run @@ -2970,8 +3234,17 @@ Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueLeaf ===== == Message payload ×: × -× --- +(1) × + | + | (opaque error wrapper) + | type name: net/*net.OpError +Wraps: (2) × + | × + | + | (opaque error leaf) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.errNoFmt +Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueLeaf +-- report composition: *fmttests.errNoFmt *net.OpError == Extra "error types" @@ -2979,7 +3252,7 @@ github.com/cockroachdb/errors/fmttests/*fmttests.errNoFmt (*::) net/*net.OpError (*::) == Exception 1 (Module: "error domain: ") Type: "*fmttests.errNoFmt" -Title: "×: ×\n×" +Title: "×: ×" (NO STACKTRACE) run @@ -3078,8 +3351,14 @@ Error types: (1) *fs.PathError (2) *errbase.opaqueLeaf ===== == Message payload link ×: × -× --- +(1) link × +Wraps: (2) × + | × + | + | (opaque error leaf) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.errNoFmt +Error types: (1) *fs.PathError (2) *errbase.opaqueLeaf +-- report composition: *fmttests.errNoFmt *fs.PathError == Extra "error types" @@ -3087,7 +3366,7 @@ github.com/cockroachdb/errors/fmttests/*fmttests.errNoFmt (*::) io/fs/*fs.PathError (os/*os.PathError::) == Exception 1 (Module: "error domain: ") Type: "*fmttests.errNoFmt" -Title: "link ×: ×\n×" +Title: "link ×: ×" (NO STACKTRACE) run @@ -3184,8 +3463,14 @@ Error types: (1) *os.SyscallError (2) *errbase.opaqueLeaf ===== == Message payload open: × -× --- +(1) open +Wraps: (2) × + | × + | + | (opaque error leaf) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.errNoFmt +Error types: (1) *os.SyscallError (2) *errbase.opaqueLeaf +-- report composition: *fmttests.errNoFmt *os.SyscallError == Extra "error types" @@ -3193,7 +3478,7 @@ github.com/cockroachdb/errors/fmttests/*fmttests.errNoFmt (*::) os/*os.SyscallError (*::) == Exception 1 (Module: "error domain: ") Type: "*fmttests.errNoFmt" -Title: "open: ×\n×" +Title: "open: ×" (NO STACKTRACE) run @@ -3303,10 +3588,16 @@ Error types: (1) *errors.withMessage (2) *errbase.opaqueLeaf ===== Sentry reporting ===== == Message payload -× ×: × +(1) ×× × --- +Wraps: (2) × + | × + | + | (opaque error leaf) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.errNoFmt +Error types: (1) *errors.withMessage (2) *errbase.opaqueLeaf +-- report composition: *fmttests.errNoFmt *errors.withMessage == Extra "error types" @@ -3314,7 +3605,7 @@ github.com/cockroachdb/errors/fmttests/*fmttests.errNoFmt (*::) github.com/pkg/errors/*errors.withMessage (*::) == Exception 1 (Module: "error domain: ") Type: "*fmttests.errNoFmt" -Title: "×\n×: ×\n×" +Title: "×: ×" (NO STACKTRACE) run @@ -3472,8 +3763,42 @@ Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueLeaf ===== == Message payload :: × -× --- +(1) + | (opaque error wrapper) + | type name: github.com/pkg/errors/*errors.withStack + | reportable 0: + | + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (2) × + | × + | + | (opaque error leaf) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.errNoFmt +Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueLeaf +-- report composition: *fmttests.errNoFmt :: *errors.withStack (top exception) == Extra "error types" @@ -3481,7 +3806,7 @@ github.com/cockroachdb/errors/fmttests/*fmttests.errNoFmt (*::) github.com/pkg/errors/*errors.withStack (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*fmttests.errNoFmt: ×\n×\nvia *errors.withStack" +Title: "*fmttests.errNoFmt: ×\nvia *errors.withStack" :: (runtime) goexit() :: @@ -3591,20 +3916,23 @@ Error types: (1) *safedetails.withSafeDetails (2) *errbase.opaqueLeaf ===== == Message payload × -× --- +(1) safe × + | × +Wraps: (2) × + | × + | + | (opaque error leaf) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.errNoFmt +Error types: (1) *safedetails.withSafeDetails (2) *errbase.opaqueLeaf +-- report composition: *fmttests.errNoFmt -*safedetails.withSafeDetails: safe × (1) -(check the extra data payloads) -== Extra "1: details" -safe × - × +*safedetails.withSafeDetails: safe × == Extra "error types" github.com/cockroachdb/errors/fmttests/*fmttests.errNoFmt (*::) github.com/cockroachdb/errors/safedetails/*safedetails.withSafeDetails (*::) == Exception 1 (Module: "error domain: ") Type: "*fmttests.errNoFmt" -Title: "×\n×" +Title: "×" (NO STACKTRACE) run @@ -3710,10 +4038,19 @@ Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueLeaf ===== Sentry reporting ===== == Message payload -× ×: × -× --- +(1) × + | × + | + | (opaque error wrapper) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.werrSafeFormat +Wraps: (2) × + | × + | + | (opaque error leaf) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.errNoFmt +Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueLeaf +-- report composition: *fmttests.errNoFmt *fmttests.werrSafeFormat == Extra "error types" @@ -3721,7 +4058,7 @@ github.com/cockroachdb/errors/fmttests/*fmttests.errNoFmt (*::) github.com/cockroachdb/errors/fmttests/*fmttests.werrSafeFormat (*::) == Exception 1 (Module: "error domain: ") Type: "*fmttests.errNoFmt" -Title: "×\n×: ×\n×" +Title: "×: ×" (NO STACKTRACE) run @@ -3731,7 +4068,6 @@ opaque require (?s)innerone.*innertwo ---- ----- &secondary.withSecondaryError{ cause: &errbase.opaqueLeaf{ msg: "innerone\ninnertwo", @@ -3891,50 +4227,56 @@ Error types: (1) *secondary.withSecondaryError (2) *errbase.opaqueLeaf ===== == Message payload × -× --- +(1) secondary error attachment + | outerthree + | (1) + | | (opaque error wrapper) + | | type name: github.com/cockroachdb/errors/withstack/*withstack.withStack + | | reportable 0: + | | + | | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | | : + | | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | | : + | | github.com/cockroachdb/datadriven.runDirective.func1 + | | : + | | github.com/cockroachdb/datadriven.runDirective + | | : + | | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | | : + | | github.com/cockroachdb/datadriven.runTestInternal + | | : + | | github.com/cockroachdb/datadriven.RunTest + | | : + | | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | | : + | | github.com/cockroachdb/datadriven.Walk + | | : + | | github.com/cockroachdb/datadriven.Walk.func1 + | | : + | | testing.tRunner + | | : + | | runtime.goexit + | | : + | Wraps: (2) outerthree + | | outerfour + | Error types: (1) *errbase.opaqueWrapper (2) *errutil.leafError +Wraps: (2) × + | × + | + | (opaque error leaf) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.errNoFmt +Error types: (1) *secondary.withSecondaryError (2) *errbase.opaqueLeaf +-- report composition: *fmttests.errNoFmt -*secondary.withSecondaryError: details for github.com/cockroachdb/errors/withstack/*withstack.withStack::: (1) -(check the extra data payloads) -== Extra "1: details" -details for github.com/cockroachdb/errors/withstack/*withstack.withStack::: - - github.com/cockroachdb/errors/fmttests.glob...funcNN... - : - github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 - : - github.com/cockroachdb/datadriven.runDirective.func1 - : - github.com/cockroachdb/datadriven.runDirective - : - github.com/cockroachdb/datadriven.runDirectiveOrSubTest - : - github.com/cockroachdb/datadriven.runTestInternal - : - github.com/cockroachdb/datadriven.RunTest - : - github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 - : - github.com/cockroachdb/datadriven.Walk - : - github.com/cockroachdb/datadriven.Walk.func1 - : - testing.tRunner - : - runtime.goexit - : -details for github.com/cockroachdb/errors/errutil/*errutil.leafError::: - outerthree - outerfour +*secondary.withSecondaryError: details for github.com/cockroachdb/errors/withstack/*withstack.withStack::: == Extra "error types" github.com/cockroachdb/errors/fmttests/*fmttests.errNoFmt (*::) github.com/cockroachdb/errors/secondary/*secondary.withSecondaryError (*::) == Exception 1 (Module: "error domain: ") Type: "*fmttests.errNoFmt" -Title: "×\n×" +Title: "×" (NO STACKTRACE) ----- ----- run nofmt innerone innertwo @@ -4086,8 +4428,42 @@ Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueLeaf ===== == Message payload :: × -× --- +(1) + | (opaque error wrapper) + | type name: github.com/cockroachdb/errors/withstack/*withstack.withStack + | reportable 0: + | + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (2) × + | × + | + | (opaque error leaf) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.errNoFmt +Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueLeaf +-- report composition: *fmttests.errNoFmt :: *withstack.withStack (top exception) == Extra "error types" @@ -4095,7 +4471,7 @@ github.com/cockroachdb/errors/fmttests/*fmttests.errNoFmt (*::) github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*fmttests.errNoFmt: ×\n×\nvia *withstack.withStack" +Title: "*fmttests.errNoFmt: ×\nvia *withstack.withStack" :: (runtime) goexit() :: @@ -4251,20 +4627,22 @@ Error types: (1) *contexttags.withContext (2) *errbase.opaqueLeaf ===== == Message payload × -× --- +(1) tags: [k×,safe=×] +Wraps: (2) × + | × + | + | (opaque error leaf) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.errNoFmt +Error types: (1) *contexttags.withContext (2) *errbase.opaqueLeaf +-- report composition: *fmttests.errNoFmt -*contexttags.withContext: k× (1) -(check the extra data payloads) -== Extra "1: details" -k× -safe=456 +*contexttags.withContext: k× == Extra "error types" github.com/cockroachdb/errors/fmttests/*fmttests.errNoFmt (*::) github.com/cockroachdb/errors/contexttags/*contexttags.withContext (*::) == Exception 1 (Module: "error domain: ") Type: "*fmttests.errNoFmt" -Title: "×\n×" +Title: "×" (NO STACKTRACE) run @@ -4351,21 +4729,23 @@ Error types: (1) *telemetrykeys.withTelemetry (2) *errbase.opaqueLeaf ===== == Message payload × -× --- +(1) keys: [somekey outerthree + | outerfour] +Wraps: (2) × + | × + | + | (opaque error leaf) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.errNoFmt +Error types: (1) *telemetrykeys.withTelemetry (2) *errbase.opaqueLeaf +-- report composition: *fmttests.errNoFmt -*telemetrykeys.withTelemetry: somekey (1) -(check the extra data payloads) -== Extra "1: details" -somekey -outerthree - outerfour +*telemetrykeys.withTelemetry: somekey == Extra "error types" github.com/cockroachdb/errors/fmttests/*fmttests.errNoFmt (*::) github.com/cockroachdb/errors/telemetrykeys/*telemetrykeys.withTelemetry (*::) == Exception 1 (Module: "error domain: ") Type: "*fmttests.errNoFmt" -Title: "×\n×" +Title: "×" (NO STACKTRACE) run @@ -4529,24 +4909,55 @@ Error types: (1) *errbase.opaqueWrapper (2) *errutil.withPrefix (3) *errbase.opa ===== Sentry reporting ===== == Message payload -:: new-stylew × -×: × -× --- +:: new-stylew ×: × +(1) + | (opaque error wrapper) + | type name: github.com/cockroachdb/errors/withstack/*withstack.withStack + | reportable 0: + | + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (2) new-stylew × + | × +Wraps: (3) × + | × + | + | (opaque error leaf) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.errNoFmt +Error types: (1) *errbase.opaqueWrapper (2) *errutil.withPrefix (3) *errbase.opaqueLeaf +-- report composition: *fmttests.errNoFmt -*errutil.withPrefix: new-stylew × (1) +*errutil.withPrefix: new-stylew × :: *withstack.withStack (top exception) -(check the extra data payloads) -== Extra "1: details" -new-stylew × - × == Extra "error types" github.com/cockroachdb/errors/fmttests/*fmttests.errNoFmt (*::) github.com/cockroachdb/errors/errutil/*errutil.withPrefix (*::) github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*fmttests.errNoFmt: new-stylew ×\n×: ×\n×\nvia *withstack.withStack" +Title: "*fmttests.errNoFmt: new-stylew ×: ×\nvia *withstack.withStack" :: (runtime) goexit() :: @@ -4579,7 +4990,6 @@ opaque require (?s)outerthree.*outerfour.*innerone.*innertwo ---- ----- &errbase.opaqueWrapper{ cause: &secondary.withSecondaryError{ cause: &errutil.withPrefix{ @@ -4824,47 +5234,82 @@ Error types: (1) *errbase.opaqueWrapper (2) *secondary.withSecondaryError (3) *e ===== Sentry reporting ===== == Message payload -:: new-style × -× (payload): × -× --- +:: new-style ×: × +(1) + | (opaque error wrapper) + | type name: github.com/cockroachdb/errors/withstack/*withstack.withStack + | reportable 0: + | + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (2) secondary error attachment + | payload + | (1) + | | (opaque error wrapper) + | | type name: github.com/cockroachdb/errors/withstack/*withstack.withStack + | | reportable 0: + | | + | | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | | : + | | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | | : + | | github.com/cockroachdb/datadriven.runDirective.func1 + | | : + | | github.com/cockroachdb/datadriven.runDirective + | | : + | | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | | : + | | github.com/cockroachdb/datadriven.runTestInternal + | | : + | | github.com/cockroachdb/datadriven.RunTest + | | : + | | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | | : + | | github.com/cockroachdb/datadriven.Walk + | | : + | | github.com/cockroachdb/datadriven.Walk.func1 + | | : + | | testing.tRunner + | | : + | | runtime.goexit + | | : + | Wraps: (2) payload + | Error types: (1) *errbase.opaqueWrapper (2) *errutil.leafError +Wraps: (3) new-style × + | × (payload) +Wraps: (4) × + | × + | + | (opaque error leaf) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.errNoFmt +Error types: (1) *errbase.opaqueWrapper (2) *secondary.withSecondaryError (3) *errutil.withPrefix (4) *errbase.opaqueLeaf +-- report composition: *fmttests.errNoFmt -*errutil.withPrefix: new-style × (1) -*secondary.withSecondaryError: details for github.com/cockroachdb/errors/withstack/*withstack.withStack::: (2) +*errutil.withPrefix: new-style × +*secondary.withSecondaryError: details for github.com/cockroachdb/errors/withstack/*withstack.withStack::: :: *withstack.withStack (top exception) -(check the extra data payloads) -== Extra "1: details" -new-style × - × (payload) -== Extra "2: details" -details for github.com/cockroachdb/errors/withstack/*withstack.withStack::: - - github.com/cockroachdb/errors/fmttests.glob...funcNN... - : - github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 - : - github.com/cockroachdb/datadriven.runDirective.func1 - : - github.com/cockroachdb/datadriven.runDirective - : - github.com/cockroachdb/datadriven.runDirectiveOrSubTest - : - github.com/cockroachdb/datadriven.runTestInternal - : - github.com/cockroachdb/datadriven.RunTest - : - github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 - : - github.com/cockroachdb/datadriven.Walk - : - github.com/cockroachdb/datadriven.Walk.func1 - : - testing.tRunner - : - runtime.goexit - : -details for github.com/cockroachdb/errors/errutil/*errutil.leafError::: - payload == Extra "error types" github.com/cockroachdb/errors/fmttests/*fmttests.errNoFmt (*::) github.com/cockroachdb/errors/errutil/*errutil.withPrefix (*::) @@ -4872,7 +5317,7 @@ github.com/cockroachdb/errors/secondary/*secondary.withSecondaryError (*::) github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*fmttests.errNoFmt: new-style ×\n× (payload): ×\n×\nvia *withstack.withStack" +Title: "*fmttests.errNoFmt: new-style ×: ×\nvia *withstack.withStack" :: (runtime) goexit() :: @@ -4897,5 +5342,3 @@ Title: "*fmttests.errNoFmt: new-style ×\n× (payload): ×\n×\nvia *withstack.w (github.com/cockroachdb/errors/fmttests.TestDatadriven.func2) 1() :: (github.com/cockroachdb/errors/fmttests.glob.)...funcNN... ----- ----- diff --git a/fmttests/testdata/format/wrap-pkgerr b/fmttests/testdata/format/wrap-pkgerr index 64838d4..04d47e2 100644 --- a/fmttests/testdata/format/wrap-pkgerr +++ b/fmttests/testdata/format/wrap-pkgerr @@ -4,11 +4,10 @@ assertion outerthree outerfour require (?s) ---- ----- &assert.withAssertionFailure{ cause: &withstack.withStack{ - cause: &barriers.barrierError{ - msg: "innerone\ninnertwo", + cause: &barriers.barrierErr{ + smsg: "‹innerone›\n‹innertwo›", maskedErr: &errors.fundamental{ msg: "innerone\ninnertwo", stack: &stack{...}, @@ -23,8 +22,8 @@ require (?s) == %#v &assert.withAssertionFailure{ cause: &withstack.withStack{ - cause: &barriers.barrierError{ - msg: "innerone\ninnertwo", + cause: &barriers.barrierErr{ + smsg: "‹innerone›\n‹innertwo›", maskedErr: &errors.fundamental{ msg: "innerone\ninnertwo", stack: &stack{...}, @@ -102,7 +101,7 @@ Wraps: (3) innerone | | runtime.goexit | | : | Error types: (1) *errors.fundamental -Error types: (1) *assert.withAssertionFailure (2) *withstack.withStack (3) *barriers.barrierError +Error types: (1) *assert.withAssertionFailure (2) *withstack.withStack (3) *barriers.barrierErr == %#v via Formattable() = %#v, good == %v via Formattable() = Error(), good == %s via Formattable() = %v via Formattable(), good @@ -180,52 +179,83 @@ Wraps: (3) ‹innerone› | | runtime.goexit | | : | Error types: (1) *errors.fundamental -Error types: (1) *assert.withAssertionFailure (2) *withstack.withStack (3) *barriers.barrierError +Error types: (1) *assert.withAssertionFailure (2) *withstack.withStack (3) *barriers.barrierErr ===== ===== Sentry reporting ===== == Message payload :: × -× --- -*barriers.barrierError: details for github.com/pkg/errors/*errors.fundamental::: (1) +(1) assertion failure +Wraps: (2) attached stack trace + -- stack trace: + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (3) × + | × + | -- cause hidden behind barrier + | × + | (1) ×× + | × + | -- stack trace: + | | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | | : + | | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | | : + | | github.com/cockroachdb/datadriven.runDirective.func1 + | | : + | | github.com/cockroachdb/datadriven.runDirective + | | : + | | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | | : + | | github.com/cockroachdb/datadriven.runTestInternal + | | : + | | github.com/cockroachdb/datadriven.RunTest + | | : + | | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | | : + | | github.com/cockroachdb/datadriven.Walk + | | : + | | github.com/cockroachdb/datadriven.Walk.func1 + | | : + | | testing.tRunner + | | : + | | runtime.goexit + | | : + | Error types: (1) *errors.fundamental +Error types: (1) *assert.withAssertionFailure (2) *withstack.withStack (3) *barriers.barrierErr +-- report composition: +*barriers.barrierErr: details for github.com/pkg/errors/*errors.fundamental::: :: *withstack.withStack (top exception) *assert.withAssertionFailure -(check the extra data payloads) -== Extra "1: details" -details for github.com/pkg/errors/*errors.fundamental::: - - github.com/cockroachdb/errors/fmttests.glob...funcNN... - : - github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 - : - github.com/cockroachdb/datadriven.runDirective.func1 - : - github.com/cockroachdb/datadriven.runDirective - : - github.com/cockroachdb/datadriven.runDirectiveOrSubTest - : - github.com/cockroachdb/datadriven.runTestInternal - : - github.com/cockroachdb/datadriven.RunTest - : - github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 - : - github.com/cockroachdb/datadriven.Walk - : - github.com/cockroachdb/datadriven.Walk.func1 - : - testing.tRunner - : - runtime.goexit - : == Extra "error types" -github.com/cockroachdb/errors/barriers/*barriers.barrierError (*::) +github.com/cockroachdb/errors/barriers/*barriers.barrierErr (*::) github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) github.com/cockroachdb/errors/assert/*assert.withAssertionFailure (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*barriers.barrierError: ×\n×\nvia *withstack.withStack" +Title: "*barriers.barrierErr: ×\nvia *withstack.withStack" :: (runtime) goexit() :: @@ -250,8 +280,6 @@ Title: "*barriers.barrierError: ×\n×\nvia *withstack.withStack" (github.com/cockroachdb/errors/fmttests.TestDatadriven.func2) 1() :: (github.com/cockroachdb/errors/fmttests.glob.)...funcNN... ----- ----- run pkgerr innerone innertwo @@ -259,12 +287,11 @@ assertwrap outerthree outerfour require (?s)outerthree.*outerfour.* ---- ----- &assert.withAssertionFailure{ cause: &withstack.withStack{ cause: &errutil.withPrefix{ - cause: &barriers.barrierError{ - msg: "innerone\ninnertwo", + cause: &barriers.barrierErr{ + smsg: "‹innerone›\n‹innertwo›", maskedErr: &errors.fundamental{ msg: "innerone\ninnertwo", stack: &stack{...}, @@ -282,8 +309,8 @@ require (?s)outerthree.*outerfour.* &assert.withAssertionFailure{ cause: &withstack.withStack{ cause: &errutil.withPrefix{ - cause: &barriers.barrierError{ - msg: "innerone\ninnertwo", + cause: &barriers.barrierErr{ + smsg: "‹innerone›\n‹innertwo›", maskedErr: &errors.fundamental{ msg: "innerone\ninnertwo", stack: &stack{...}, @@ -366,7 +393,7 @@ Wraps: (4) innerone | | runtime.goexit | | : | Error types: (1) *errors.fundamental -Error types: (1) *assert.withAssertionFailure (2) *withstack.withStack (3) *errutil.withPrefix (4) *barriers.barrierError +Error types: (1) *assert.withAssertionFailure (2) *withstack.withStack (3) *errutil.withPrefix (4) *barriers.barrierErr == %#v via Formattable() = %#v, good == %v via Formattable() = Error(), good == %s via Formattable() = %v via Formattable(), good @@ -447,58 +474,87 @@ Wraps: (4) ‹innerone› | | runtime.goexit | | : | Error types: (1) *errors.fundamental -Error types: (1) *assert.withAssertionFailure (2) *withstack.withStack (3) *errutil.withPrefix (4) *barriers.barrierError +Error types: (1) *assert.withAssertionFailure (2) *withstack.withStack (3) *errutil.withPrefix (4) *barriers.barrierErr ===== ===== Sentry reporting ===== == Message payload -:: assertmsg: × -×: × -× --- -*barriers.barrierError: details for github.com/pkg/errors/*errors.fundamental::: (1) -*errutil.withPrefix: assertmsg: × (2) +:: assertmsg: ×: × +(1) assertion failure +Wraps: (2) attached stack trace + -- stack trace: + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (3) assertmsg: × + | × +Wraps: (4) × + | × + | -- cause hidden behind barrier + | × + | (1) ×× + | × + | -- stack trace: + | | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | | : + | | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | | : + | | github.com/cockroachdb/datadriven.runDirective.func1 + | | : + | | github.com/cockroachdb/datadriven.runDirective + | | : + | | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | | : + | | github.com/cockroachdb/datadriven.runTestInternal + | | : + | | github.com/cockroachdb/datadriven.RunTest + | | : + | | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | | : + | | github.com/cockroachdb/datadriven.Walk + | | : + | | github.com/cockroachdb/datadriven.Walk.func1 + | | : + | | testing.tRunner + | | : + | | runtime.goexit + | | : + | Error types: (1) *errors.fundamental +Error types: (1) *assert.withAssertionFailure (2) *withstack.withStack (3) *errutil.withPrefix (4) *barriers.barrierErr +-- report composition: +*barriers.barrierErr: details for github.com/pkg/errors/*errors.fundamental::: +*errutil.withPrefix: assertmsg: × :: *withstack.withStack (top exception) *assert.withAssertionFailure -(check the extra data payloads) -== Extra "1: details" -details for github.com/pkg/errors/*errors.fundamental::: - - github.com/cockroachdb/errors/fmttests.glob...funcNN... - : - github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 - : - github.com/cockroachdb/datadriven.runDirective.func1 - : - github.com/cockroachdb/datadriven.runDirective - : - github.com/cockroachdb/datadriven.runDirectiveOrSubTest - : - github.com/cockroachdb/datadriven.runTestInternal - : - github.com/cockroachdb/datadriven.RunTest - : - github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 - : - github.com/cockroachdb/datadriven.Walk - : - github.com/cockroachdb/datadriven.Walk.func1 - : - testing.tRunner - : - runtime.goexit - : -== Extra "2: details" -assertmsg: × - × == Extra "error types" -github.com/cockroachdb/errors/barriers/*barriers.barrierError (*::) +github.com/cockroachdb/errors/barriers/*barriers.barrierErr (*::) github.com/cockroachdb/errors/errutil/*errutil.withPrefix (*::) github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) github.com/cockroachdb/errors/assert/*assert.withAssertionFailure (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*barriers.barrierError: assertmsg: ×\n×: ×\n×\nvia *withstack.withStack" +Title: "*barriers.barrierErr: assertmsg: ×: ×\nvia *withstack.withStack" :: (runtime) goexit() :: @@ -523,8 +579,6 @@ Title: "*barriers.barrierError: assertmsg: ×\n×: ×\n×\nvia *withstack.withSt (github.com/cockroachdb/errors/fmttests.TestDatadriven.func2) 1() :: (github.com/cockroachdb/errors/fmttests.glob.)...funcNN... ----- ----- run pkgerr innerone innertwo @@ -532,9 +586,8 @@ barrier outerthree outerfour require (?s) ---- ----- -&barriers.barrierError{ - msg: "innerone\ninnertwo", +&barriers.barrierErr{ + smsg: "‹innerone›\n‹innertwo›", maskedErr: &errors.fundamental{ msg: "innerone\ninnertwo", stack: &stack{...}, @@ -544,8 +597,8 @@ require (?s) ===== non-redactable formats ===== == %#v -&barriers.barrierError{ - msg: "innerone\ninnertwo", +&barriers.barrierErr{ + smsg: "‹innerone›\n‹innertwo›", maskedErr: &errors.fundamental{ msg: "innerone\ninnertwo", stack: &stack{...}, @@ -593,7 +646,7 @@ innerone | | runtime.goexit | | : | Error types: (1) *errors.fundamental -Error types: (1) *barriers.barrierError +Error types: (1) *barriers.barrierErr == %#v via Formattable() = %#v, good == %v via Formattable() = Error(), good == %s via Formattable() = %v via Formattable(), good @@ -644,51 +697,53 @@ Error types: (1) *barriers.barrierError | | runtime.goexit | | : | Error types: (1) *errors.fundamental -Error types: (1) *barriers.barrierError +Error types: (1) *barriers.barrierErr ===== ===== Sentry reporting ===== == Message payload × -× --- -*barriers.barrierError: details for github.com/pkg/errors/*errors.fundamental::: (1) -(check the extra data payloads) -== Extra "1: details" -details for github.com/pkg/errors/*errors.fundamental::: - - github.com/cockroachdb/errors/fmttests.glob...funcNN... - : - github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 - : - github.com/cockroachdb/datadriven.runDirective.func1 - : - github.com/cockroachdb/datadriven.runDirective - : - github.com/cockroachdb/datadriven.runDirectiveOrSubTest - : - github.com/cockroachdb/datadriven.runTestInternal - : - github.com/cockroachdb/datadriven.RunTest - : - github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 - : - github.com/cockroachdb/datadriven.Walk - : - github.com/cockroachdb/datadriven.Walk.func1 - : - testing.tRunner - : - runtime.goexit - : +(1) × + | × + | -- cause hidden behind barrier + | × + | (1) ×× + | × + | -- stack trace: + | | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | | : + | | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | | : + | | github.com/cockroachdb/datadriven.runDirective.func1 + | | : + | | github.com/cockroachdb/datadriven.runDirective + | | : + | | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | | : + | | github.com/cockroachdb/datadriven.runTestInternal + | | : + | | github.com/cockroachdb/datadriven.RunTest + | | : + | | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | | : + | | github.com/cockroachdb/datadriven.Walk + | | : + | | github.com/cockroachdb/datadriven.Walk.func1 + | | : + | | testing.tRunner + | | : + | | runtime.goexit + | | : + | Error types: (1) *errors.fundamental +Error types: (1) *barriers.barrierErr +-- report composition: +*barriers.barrierErr: details for github.com/pkg/errors/*errors.fundamental::: == Extra "error types" -github.com/cockroachdb/errors/barriers/*barriers.barrierError (*::) +github.com/cockroachdb/errors/barriers/*barriers.barrierErr (*::) == Exception 1 (Module: "error domain: ") -Type: "*barriers.barrierError" -Title: "×\n×" +Type: "*barriers.barrierErr" +Title: "×" (NO STACKTRACE) ----- ----- run pkgerr innerone innertwo @@ -810,10 +865,39 @@ Error types: (1) *fmttests.werrDelegate (2) *errors.fundamental ===== Sentry reporting ===== == Message payload -:: × -×: × +:: ×: × +(1) ×× +× +× +× +Wraps: (2) ×× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× × --- +× +× +× +× +Error types: (1) *fmttests.werrDelegate (2) *errors.fundamental +-- report composition: :: *errors.fundamental (top exception) *fmttests.werrDelegate == Extra "error types" @@ -821,7 +905,7 @@ github.com/pkg/errors/*errors.fundamental (*::) github.com/cockroachdb/errors/fmttests/*fmttests.werrDelegate (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errors.fundamental: ×\n×: ×\n×" +Title: "*errors.fundamental: ×: ×" :: (runtime) goexit() :: @@ -958,8 +1042,35 @@ Error types: (1) *fmttests.werrDelegateEmpty (2) *errors.fundamental ===== == Message payload :: × +(1) +Wraps: (2) ×× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× × --- +× +× +× +× +Error types: (1) *fmttests.werrDelegateEmpty (2) *errors.fundamental +-- report composition: :: *errors.fundamental (top exception) *fmttests.werrDelegateEmpty == Extra "error types" @@ -967,7 +1078,7 @@ github.com/pkg/errors/*errors.fundamental (*::) github.com/cockroachdb/errors/fmttests/*fmttests.werrDelegateEmpty (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errors.fundamental: ×\n×" +Title: "*errors.fundamental: ×" :: (runtime) goexit() :: @@ -1104,8 +1215,35 @@ Error types: (1) *fmttests.werrDelegateNoPrefix (2) *errors.fundamental ===== == Message payload :: × +(1) × +Wraps: (2) ×× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× × --- +× +× +Error types: (1) *fmttests.werrDelegateNoPrefix (2) *errors.fundamental +-- report composition: :: *errors.fundamental (top exception) *fmttests.werrDelegateNoPrefix == Extra "error types" @@ -1113,7 +1251,7 @@ github.com/pkg/errors/*errors.fundamental (*::) github.com/cockroachdb/errors/fmttests/*fmttests.werrDelegateNoPrefix (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errors.fundamental: ×\n×" +Title: "*errors.fundamental: ×" :: (runtime) goexit() :: @@ -1254,8 +1392,36 @@ Error types: (1) *hintdetail.withDetail (2) *errors.fundamental ===== == Message payload :: × +(1) × +× +Wraps: (2) ×× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× × --- +× +× +Error types: (1) *hintdetail.withDetail (2) *errors.fundamental +-- report composition: :: *errors.fundamental (top exception) *hintdetail.withDetail == Extra "error types" @@ -1263,7 +1429,7 @@ github.com/pkg/errors/*errors.fundamental (*::) github.com/cockroachdb/errors/hintdetail/*hintdetail.withDetail (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errors.fundamental: ×\n×" +Title: "*errors.fundamental: ×" :: (runtime) goexit() :: @@ -1402,19 +1568,43 @@ Error types: (1) *domains.withDomain (2) *errors.fundamental ===== == Message payload :: × +(1) mydomain +Wraps: (2) ×× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× × --- +× +× +Error types: (1) *domains.withDomain (2) *errors.fundamental +-- report composition: :: *errors.fundamental (top exception) -*domains.withDomain: mydomain (1) -(check the extra data payloads) -== Extra "1: details" -mydomain +*domains.withDomain: mydomain == Extra "error types" github.com/pkg/errors/*errors.fundamental (*::) github.com/cockroachdb/errors/domains/*domains.withDomain (*::mydomain) == Exception 1 (Module: "mydomain") Type: ": ...funcNN... -Title: "*errors.fundamental: ×\n×" +Title: "*errors.fundamental: ×" :: (runtime) goexit() :: @@ -1555,8 +1745,36 @@ Error types: (1) *fmttests.werrWithElidedCause (2) *errors.fundamental ===== == Message payload :: × +(1) ×× +× +Wraps: (2) ×× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× × --- +× +× +× +Error types: (1) *fmttests.werrWithElidedCause (2) *errors.fundamental +-- report composition: :: *errors.fundamental (top exception) *fmttests.werrWithElidedCause == Extra "error types" @@ -1564,7 +1782,7 @@ github.com/pkg/errors/*errors.fundamental (*::) github.com/cockroachdb/errors/fmttests/*fmttests.werrWithElidedCause (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errors.fundamental: ×\n×" +Title: "*errors.fundamental: ×" :: (runtime) goexit() :: @@ -1701,8 +1919,35 @@ Error types: (1) *fmttests.werrEmpty (2) *errors.fundamental ===== == Message payload :: × +(1) +Wraps: (2) ×× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× × --- +× +× +Error types: (1) *fmttests.werrEmpty (2) *errors.fundamental +-- report composition: :: *errors.fundamental (top exception) *fmttests.werrEmpty == Extra "error types" @@ -1710,7 +1955,7 @@ github.com/pkg/errors/*errors.fundamental (*::) github.com/cockroachdb/errors/fmttests/*fmttests.werrEmpty (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errors.fundamental: ×\n×" +Title: "*errors.fundamental: ×" :: (runtime) goexit() :: @@ -1858,10 +2103,40 @@ Error types: (1) *fmttests.werrFmt (2) *errors.fundamental ===== Sentry reporting ===== == Message payload -:: × -×: × +:: ×: × +(1) ×× +× +× +× +× +Wraps: (2) ×× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× × --- +× +× +× +× +× +× +Error types: (1) *fmttests.werrFmt (2) *errors.fundamental +-- report composition: :: *errors.fundamental (top exception) *fmttests.werrFmt == Extra "error types" @@ -1869,7 +2144,7 @@ github.com/pkg/errors/*errors.fundamental (*::) github.com/cockroachdb/errors/fmttests/*fmttests.werrFmt (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errors.fundamental: ×\n×: ×\n×" +Title: "*errors.fundamental: ×: ×" :: (runtime) goexit() :: @@ -2044,10 +2319,37 @@ Error types: (1) *fmttests.werrFmto (2) *errors.fundamental ===== Sentry reporting ===== == Message payload -:: × -×: × +:: ×: × +(1) ×× +× +Wraps: (2) ×× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× × --- +× +× +× +× +× +× +× +Error types: (1) *fmttests.werrFmto (2) *errors.fundamental +-- report composition: :: *errors.fundamental (top exception) *fmttests.werrFmto == Extra "error types" @@ -2055,7 +2357,7 @@ github.com/pkg/errors/*errors.fundamental (*::) github.com/cockroachdb/errors/fmttests/*fmttests.werrFmto (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errors.fundamental: ×\n×: ×\n×" +Title: "*errors.fundamental: ×: ×" :: (runtime) goexit() :: @@ -2230,10 +2532,37 @@ Error types: (1) *fmttests.werrFmtoDelegate (2) *errors.fundamental ===== Sentry reporting ===== == Message payload -:: × -×: × +:: ×: × +(1) ×× +× +Wraps: (2) ×× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× × --- +× +× +× +× +× +× +× +× +Error types: (1) *fmttests.werrFmtoDelegate (2) *errors.fundamental +-- report composition: :: *errors.fundamental (top exception) *fmttests.werrFmtoDelegate == Extra "error types" @@ -2241,7 +2570,7 @@ github.com/pkg/errors/*errors.fundamental (*::) github.com/cockroachdb/errors/fmttests/*fmttests.werrFmtoDelegate (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errors.fundamental: ×\n×: ×\n×" +Title: "*errors.fundamental: ×: ×" :: (runtime) goexit() :: @@ -2383,10 +2712,37 @@ Error types: (1) *fmttests.werrFmtp (2) *errors.fundamental ===== Sentry reporting ===== == Message payload -:: × -×: × +:: ×: × +(1) ×× +× +Wraps: (2) ×× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× × --- +× +× +× +Error types: (1) *fmttests.werrFmtp (2) *errors.fundamental +-- report composition: :: *errors.fundamental (top exception) *fmttests.werrFmtp == Extra "error types" @@ -2394,7 +2750,7 @@ github.com/pkg/errors/*errors.fundamental (*::) github.com/cockroachdb/errors/fmttests/*fmttests.werrFmtp (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errors.fundamental: ×\n×: ×\n×" +Title: "*errors.fundamental: ×: ×" :: (runtime) goexit() :: @@ -2540,10 +2896,37 @@ Error types: (1) *fmt.wrapError (2) *errors.fundamental ===== Sentry reporting ===== == Message payload -:: × -×: × +:: ×: × +(1) ×× +× +Wraps: (2) ×× +× +× +× +× +× +× +× +× +× +× × --- +× +× +× +× +× +× +× +× +× +× +× +× +× +× +Error types: (1) *fmt.wrapError (2) *errors.fundamental +-- report composition: :: *errors.fundamental (top exception) *fmt.wrapError == Extra "error types" @@ -2551,7 +2934,7 @@ github.com/pkg/errors/*errors.fundamental (*::) fmt/*fmt.wrapError (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errors.fundamental: ×\n×: ×\n×" +Title: "*errors.fundamental: ×: ×" :: (runtime) goexit() :: @@ -2583,10 +2966,9 @@ handled-domain outerthree outerfour require (?s) ---- ----- &domains.withDomain{ - cause: &barriers.barrierError{ - msg: "innerone\ninnertwo", + cause: &barriers.barrierErr{ + smsg: "‹innerone›\n‹innertwo›", maskedErr: &errors.fundamental{ msg: "innerone\ninnertwo", stack: &stack{...}, @@ -2599,8 +2981,8 @@ require (?s) ===== == %#v &domains.withDomain{ - cause: &barriers.barrierError{ - msg: "innerone\ninnertwo", + cause: &barriers.barrierErr{ + smsg: "‹innerone›\n‹innertwo›", maskedErr: &errors.fundamental{ msg: "innerone\ninnertwo", stack: &stack{...}, @@ -2651,7 +3033,7 @@ Wraps: (2) innerone | | runtime.goexit | | : | Error types: (1) *errors.fundamental -Error types: (1) *domains.withDomain (2) *barriers.barrierError +Error types: (1) *domains.withDomain (2) *barriers.barrierErr == %#v via Formattable() = %#v, good == %v via Formattable() = Error(), good == %s via Formattable() = %v via Formattable(), good @@ -2703,55 +3085,56 @@ Wraps: (2) ‹innerone› | | runtime.goexit | | : | Error types: (1) *errors.fundamental -Error types: (1) *domains.withDomain (2) *barriers.barrierError +Error types: (1) *domains.withDomain (2) *barriers.barrierErr ===== ===== Sentry reporting ===== == Message payload × -× --- -*barriers.barrierError: details for github.com/pkg/errors/*errors.fundamental::: (1) -*domains.withDomain: error domain: pkg (2) -(check the extra data payloads) -== Extra "1: details" -details for github.com/pkg/errors/*errors.fundamental::: - - github.com/cockroachdb/errors/fmttests.glob...funcNN... - : - github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 - : - github.com/cockroachdb/datadriven.runDirective.func1 - : - github.com/cockroachdb/datadriven.runDirective - : - github.com/cockroachdb/datadriven.runDirectiveOrSubTest - : - github.com/cockroachdb/datadriven.runTestInternal - : - github.com/cockroachdb/datadriven.RunTest - : - github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 - : - github.com/cockroachdb/datadriven.Walk - : - github.com/cockroachdb/datadriven.Walk.func1 - : - testing.tRunner - : - runtime.goexit - : -== Extra "2: details" -error domain: pkg +(1) error domain: pkg +Wraps: (2) × + | × + | -- cause hidden behind barrier + | × + | (1) ×× + | × + | -- stack trace: + | | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | | : + | | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | | : + | | github.com/cockroachdb/datadriven.runDirective.func1 + | | : + | | github.com/cockroachdb/datadriven.runDirective + | | : + | | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | | : + | | github.com/cockroachdb/datadriven.runTestInternal + | | : + | | github.com/cockroachdb/datadriven.RunTest + | | : + | | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | | : + | | github.com/cockroachdb/datadriven.Walk + | | : + | | github.com/cockroachdb/datadriven.Walk.func1 + | | : + | | testing.tRunner + | | : + | | runtime.goexit + | | : + | Error types: (1) *errors.fundamental +Error types: (1) *domains.withDomain (2) *barriers.barrierErr +-- report composition: +*barriers.barrierErr: details for github.com/pkg/errors/*errors.fundamental::: +*domains.withDomain: error domain: pkg == Extra "error types" -github.com/cockroachdb/errors/barriers/*barriers.barrierError (*::) +github.com/cockroachdb/errors/barriers/*barriers.barrierErr (*::) github.com/cockroachdb/errors/domains/*domains.withDomain (*::error domain: pkg ) == Exception 1 (Module: "error domain: pkg ") -Type: "*barriers.barrierError" -Title: "×\n×" +Type: "*barriers.barrierErr" +Title: "×" (NO STACKTRACE) ----- ----- run pkgerr innerone innertwo @@ -2868,8 +3251,36 @@ Error types: (1) *hintdetail.withHint (2) *errors.fundamental ===== == Message payload :: × +(1) × +× +Wraps: (2) ×× +× +× +× +× +× +× +× +× +× +× +× +× × --- +× +× +× +× +× +× +× +× +× +× +× +× +Error types: (1) *hintdetail.withHint (2) *errors.fundamental +-- report composition: :: *errors.fundamental (top exception) *hintdetail.withHint == Extra "error types" @@ -2877,7 +3288,7 @@ github.com/pkg/errors/*errors.fundamental (*::) github.com/cockroachdb/errors/hintdetail/*hintdetail.withHint (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errors.fundamental: ×\n×" +Title: "*errors.fundamental: ×" :: (runtime) goexit() :: @@ -3020,21 +3431,45 @@ Error types: (1) *issuelink.withIssueLink (2) *errors.fundamental ===== == Message payload :: × +(1) issue: https://mysite + | detail: outerthree + | outerfour +Wraps: (2) ×× × --- +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +Error types: (1) *issuelink.withIssueLink (2) *errors.fundamental +-- report composition: :: *errors.fundamental (top exception) -*issuelink.withIssueLink: https://mysite (1) -(check the extra data payloads) -== Extra "1: details" -https://mysite -outerthree - outerfour +*issuelink.withIssueLink: https://mysite == Extra "error types" github.com/pkg/errors/*errors.fundamental (*::) github.com/cockroachdb/errors/issuelink/*issuelink.withIssueLink (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errors.fundamental: ×\n×" +Title: "*errors.fundamental: ×" :: (runtime) goexit() :: @@ -3171,8 +3606,35 @@ Error types: (1) *fmttests.werrMigrated (2) *errors.fundamental ===== == Message payload :: × +(1) +Wraps: (2) ×× +× +× +× +× × --- +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +Error types: (1) *fmttests.werrMigrated (2) *errors.fundamental +-- report composition: :: *errors.fundamental (top exception) *fmttests.werrMigrated == Extra "error types" @@ -3180,7 +3642,7 @@ github.com/pkg/errors/*errors.fundamental (*::) github.com/cockroachdb/errors/fmttests/*fmttests.werrMigrated (some/previous/path/prevpkg.prevType::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errors.fundamental: ×\n×" +Title: "*errors.fundamental: ×" :: (runtime) goexit() :: @@ -3322,22 +3784,45 @@ Error types: (1) *errutil.withPrefix (2) *errors.fundamental ===== Sentry reporting ===== == Message payload -:: outerthree -outerfour: × +:: outerthree: × +(1) outerthree + | outerfour +Wraps: (2) ×× +× +× +× +× +× +× +× +× +× × --- +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +Error types: (1) *errutil.withPrefix (2) *errors.fundamental +-- report composition: :: *errors.fundamental (top exception) -*errutil.withPrefix: outerthree (1) -(check the extra data payloads) -== Extra "1: details" -outerthree - outerfour +*errutil.withPrefix: outerthree == Extra "error types" github.com/pkg/errors/*errors.fundamental (*::) github.com/cockroachdb/errors/errutil/*errutil.withPrefix (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errors.fundamental: outerthree\nouterfour: ×\n×" +Title: "*errors.fundamental: outerthree: ×" :: (runtime) goexit() :: @@ -3369,7 +3854,6 @@ newfw outerthree outerfour require (?s)outerthree.*outerfour.* ---- ----- &withstack.withStack{ cause: &secondary.withSecondaryError{ cause: &errutil.withNewMessage{ @@ -3566,57 +4050,89 @@ Wraps: (4) ‹innerone›‹› ‹ | runtime.goexit› ‹ | :› Error types: (1) *withstack.withStack (2) *secondary.withSecondaryError (3) *errutil.withNewMessage (4) *errors.fundamental -===== -===== Sentry reporting -===== -== Message payload -:: new-style (× -×) :: × -× :: --- +===== +===== Sentry reporting +===== +== Message payload +:: new-style (× +(1) attached stack trace + -- stack trace: + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | [...repeated from below...] +Wraps: (2) secondary error attachment + | × + | (1) ×× + | × + | -- stack trace: + | | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | | : + | | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | | : + | | github.com/cockroachdb/datadriven.runDirective.func1 + | | : + | | github.com/cockroachdb/datadriven.runDirective + | | : + | | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | | : + | | github.com/cockroachdb/datadriven.runTestInternal + | | : + | | github.com/cockroachdb/datadriven.RunTest + | | : + | | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | | : + | | github.com/cockroachdb/datadriven.Walk + | | : + | | github.com/cockroachdb/datadriven.Walk.func1 + | | : + | | testing.tRunner + | | : + | | runtime.goexit + | | : + | Error types: (1) *errors.fundamental +Wraps: (3) new-style (× + | ×) :: × + | × :: +Wraps: (4) ×× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +Error types: (1) *withstack.withStack (2) *secondary.withSecondaryError (3) *errutil.withNewMessage (4) *errors.fundamental +-- report composition: :: *errors.fundamental (top exception) -*errutil.withNewMessage: new-style (× (1) -*secondary.withSecondaryError: details for github.com/pkg/errors/*errors.fundamental::: (2) -:: *withstack.withStack (3) +*errutil.withNewMessage: new-style (× +*secondary.withSecondaryError: details for github.com/pkg/errors/*errors.fundamental::: +:: *withstack.withStack (1) (check the extra data payloads) -== Extra "1: details" -new-style (× - ×) :: × - × :: -== Extra "2: details" -details for github.com/pkg/errors/*errors.fundamental::: - - github.com/cockroachdb/errors/fmttests.glob...funcNN... - : - github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 - : - github.com/cockroachdb/datadriven.runDirective.func1 - : - github.com/cockroachdb/datadriven.runDirective - : - github.com/cockroachdb/datadriven.runDirectiveOrSubTest - : - github.com/cockroachdb/datadriven.runTestInternal - : - github.com/cockroachdb/datadriven.RunTest - : - github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 - : - github.com/cockroachdb/datadriven.Walk - : - github.com/cockroachdb/datadriven.Walk.func1 - : - testing.tRunner - : - runtime.goexit - : == Extra "error types" github.com/pkg/errors/*errors.fundamental (*::) github.com/cockroachdb/errors/errutil/*errutil.withNewMessage (*::) github.com/cockroachdb/errors/secondary/*secondary.withSecondaryError (*::) github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) == Exception 1 (Module: "error domain: ") -Type: "(3) : ...funcNN... +Type: "(1) : ...funcNN... Title: "*withstack.withStack" :: (runtime) goexit() @@ -3644,7 +4160,7 @@ Title: "*withstack.withStack" (github.com/cockroachdb/errors/fmttests.glob.)...funcNN... == Exception 2 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errors.fundamental: new-style (×\n×) :: ×\n× ::" +Title: "*errors.fundamental: new-style (×" :: (runtime) goexit() :: @@ -3669,8 +4185,6 @@ Title: "*errors.fundamental: new-style (×\n×) :: ×\n× ::" (github.com/cockroachdb/errors/fmttests.TestDatadriven.func2) 1() :: (github.com/cockroachdb/errors/fmttests.glob.)...funcNN... ----- ----- run pkgerr innerone innertwo @@ -3792,10 +4306,37 @@ Error types: (1) *fmttests.werrNoFmt (2) *errors.fundamental ===== Sentry reporting ===== == Message payload -:: × -×: × +:: ×: × +(1) ×× +× +Wraps: (2) ×× +× × --- +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +Error types: (1) *fmttests.werrNoFmt (2) *errors.fundamental +-- report composition: :: *errors.fundamental (top exception) *fmttests.werrNoFmt == Extra "error types" @@ -3803,7 +4344,7 @@ github.com/pkg/errors/*errors.fundamental (*::) github.com/cockroachdb/errors/fmttests/*fmttests.werrNoFmt (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errors.fundamental: ×\n×: ×\n×" +Title: "*errors.fundamental: ×: ×" :: (runtime) goexit() :: @@ -3951,8 +4492,35 @@ Error types: (1) *os.LinkError (2) *errors.fundamental ===== == Message payload :: link × ×: × +(1) link × × +Wraps: (2) ×× +× +× +× +× +× +× +× +× × --- +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +Error types: (1) *os.LinkError (2) *errors.fundamental +-- report composition: :: *errors.fundamental (top exception) *os.LinkError == Extra "error types" @@ -3960,7 +4528,7 @@ github.com/pkg/errors/*errors.fundamental (*::) os/*os.LinkError (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errors.fundamental: link × ×: ×\n×" +Title: "*errors.fundamental: link × ×: ×" :: (runtime) goexit() :: @@ -4110,8 +4678,35 @@ Error types: (1) *net.OpError (2) *errors.fundamental ===== == Message payload :: send tcp ×: × +(1) send tcp × +Wraps: (2) ×× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× × --- +× +× +× +× +× +× +× +× +× +Error types: (1) *net.OpError (2) *errors.fundamental +-- report composition: :: *errors.fundamental (top exception) *net.OpError == Extra "error types" @@ -4119,7 +4714,7 @@ github.com/pkg/errors/*errors.fundamental (*::) net/*net.OpError (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errors.fundamental: send tcp ×: ×\n×" +Title: "*errors.fundamental: send tcp ×: ×" :: (runtime) goexit() :: @@ -4265,8 +4860,35 @@ Error types: (1) *fs.PathError (2) *errors.fundamental ===== == Message payload :: link ×: × +(1) link × +Wraps: (2) ×× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× × --- +× +× +Error types: (1) *fs.PathError (2) *errors.fundamental +-- report composition: :: *errors.fundamental (top exception) *fs.PathError == Extra "error types" @@ -4274,7 +4896,7 @@ github.com/pkg/errors/*errors.fundamental (*::) io/fs/*fs.PathError (os/*os.PathError::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errors.fundamental: link ×: ×\n×" +Title: "*errors.fundamental: link ×: ×" :: (runtime) goexit() :: @@ -4418,8 +5040,35 @@ Error types: (1) *os.SyscallError (2) *errors.fundamental ===== == Message payload :: open: × +(1) open +Wraps: (2) ×× +× +× +× +× +× +× +× +× +× +× +× +× × --- +× +× +× +× +× +× +× +× +× +× +× +× +Error types: (1) *os.SyscallError (2) *errors.fundamental +-- report composition: :: *errors.fundamental (top exception) *os.SyscallError == Extra "error types" @@ -4427,7 +5076,7 @@ github.com/pkg/errors/*errors.fundamental (*::) os/*os.SyscallError (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errors.fundamental: open: ×\n×" +Title: "*errors.fundamental: open: ×" :: (runtime) goexit() :: @@ -4610,10 +5259,37 @@ Error types: (1) *errors.withMessage (2) *errors.fundamental ===== Sentry reporting ===== == Message payload -:: × -×: × +:: ×: × +(1) ×× +× +Wraps: (2) ×× +× × --- +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +Error types: (1) *errors.withMessage (2) *errors.fundamental +-- report composition: :: *errors.fundamental (top exception) *errors.withMessage == Extra "error types" @@ -4621,7 +5297,7 @@ github.com/pkg/errors/*errors.fundamental (*::) github.com/pkg/errors/*errors.withMessage (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errors.fundamental: ×\n×: ×\n×" +Title: "*errors.fundamental: ×: ×" :: (runtime) goexit() :: @@ -4827,8 +5503,39 @@ Error types: (1) *errors.withStack (2) *errors.fundamental ===== == Message payload :: × +(1) + -- stack trace: + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | [...repeated from below...] +Wraps: (2) ×× +× +× +× × --- +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +Error types: (1) *errors.withStack (2) *errors.fundamental +-- report composition: :: *errors.fundamental (top exception) :: *errors.withStack (1) (check the extra data payloads) @@ -4864,7 +5571,7 @@ Title: "*errors.withStack" (github.com/cockroachdb/errors/fmttests.glob.)...funcNN... == Exception 2 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errors.fundamental: ×\n×" +Title: "*errors.fundamental: ×" :: (runtime) goexit() :: @@ -5005,20 +5712,44 @@ Error types: (1) *safedetails.withSafeDetails (2) *errors.fundamental ===== == Message payload :: × +(1) safe × + | × +Wraps: (2) ×× +× +× +× +× +× +× +× +× × --- +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +Error types: (1) *safedetails.withSafeDetails (2) *errors.fundamental +-- report composition: :: *errors.fundamental (top exception) -*safedetails.withSafeDetails: safe × (1) -(check the extra data payloads) -== Extra "1: details" -safe × - × +*safedetails.withSafeDetails: safe × == Extra "error types" github.com/pkg/errors/*errors.fundamental (*::) github.com/cockroachdb/errors/safedetails/*safedetails.withSafeDetails (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errors.fundamental: ×\n×" +Title: "*errors.fundamental: ×" :: (runtime) goexit() :: @@ -5160,10 +5891,37 @@ Error types: (1) *fmttests.werrSafeFormat (2) *errors.fundamental ===== Sentry reporting ===== == Message payload -:: safe × -×: × +:: safe ×: × +(1) safe × + | × +Wraps: (2) ×× +× +× +× +× +× +× +× +× +× +× +× +× × --- +× +× +× +× +× +× +× +× +× +× +× +× +Error types: (1) *fmttests.werrSafeFormat (2) *errors.fundamental +-- report composition: :: *errors.fundamental (top exception) *fmttests.werrSafeFormat == Extra "error types" @@ -5171,7 +5929,7 @@ github.com/pkg/errors/*errors.fundamental (*::) github.com/cockroachdb/errors/fmttests/*fmttests.werrSafeFormat (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errors.fundamental: safe ×\n×: ×\n×" +Title: "*errors.fundamental: safe ×: ×" :: (runtime) goexit() :: @@ -5203,7 +5961,6 @@ secondary outerthree outerfour require (?s) ---- ----- &secondary.withSecondaryError{ cause: &errors.fundamental{ msg: "innerone\ninnertwo", @@ -5377,47 +6134,73 @@ Error types: (1) *secondary.withSecondaryError (2) *errors.fundamental ===== == Message payload :: × +(1) secondary error attachment + | outerthree + | (1) attached stack trace + | -- stack trace: + | | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | | : + | | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | | : + | | github.com/cockroachdb/datadriven.runDirective.func1 + | | : + | | github.com/cockroachdb/datadriven.runDirective + | | : + | | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | | : + | | github.com/cockroachdb/datadriven.runTestInternal + | | : + | | github.com/cockroachdb/datadriven.RunTest + | | : + | | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | | : + | | github.com/cockroachdb/datadriven.Walk + | | : + | | github.com/cockroachdb/datadriven.Walk.func1 + | | : + | | testing.tRunner + | | : + | | runtime.goexit + | | : + | Wraps: (2) outerthree + | | outerfour + | Error types: (1) *withstack.withStack (2) *errutil.leafError +Wraps: (2) ×× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× × --- +× +× +× +× +× +Error types: (1) *secondary.withSecondaryError (2) *errors.fundamental +-- report composition: :: *errors.fundamental (top exception) -*secondary.withSecondaryError: details for github.com/cockroachdb/errors/withstack/*withstack.withStack::: (1) -(check the extra data payloads) -== Extra "1: details" -details for github.com/cockroachdb/errors/withstack/*withstack.withStack::: - - github.com/cockroachdb/errors/fmttests.glob...funcNN... - : - github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 - : - github.com/cockroachdb/datadriven.runDirective.func1 - : - github.com/cockroachdb/datadriven.runDirective - : - github.com/cockroachdb/datadriven.runDirectiveOrSubTest - : - github.com/cockroachdb/datadriven.runTestInternal - : - github.com/cockroachdb/datadriven.RunTest - : - github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 - : - github.com/cockroachdb/datadriven.Walk - : - github.com/cockroachdb/datadriven.Walk.func1 - : - testing.tRunner - : - runtime.goexit - : -details for github.com/cockroachdb/errors/errutil/*errutil.leafError::: - outerthree - outerfour +*secondary.withSecondaryError: details for github.com/cockroachdb/errors/withstack/*withstack.withStack::: == Extra "error types" github.com/pkg/errors/*errors.fundamental (*::) github.com/cockroachdb/errors/secondary/*secondary.withSecondaryError (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errors.fundamental: ×\n×" +Title: "*errors.fundamental: ×" :: (runtime) goexit() :: @@ -5442,8 +6225,6 @@ Title: "*errors.fundamental: ×\n×" (github.com/cockroachdb/errors/fmttests.TestDatadriven.func2) 1() :: (github.com/cockroachdb/errors/fmttests.glob.)...funcNN... ----- ----- run pkgerr innerone innertwo @@ -5566,8 +6347,39 @@ Error types: (1) *withstack.withStack (2) *errors.fundamental ===== == Message payload :: × +(1) attached stack trace + -- stack trace: + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | [...repeated from below...] +Wraps: (2) ×× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× × --- +× +× +× +× +× +× +Error types: (1) *withstack.withStack (2) *errors.fundamental +-- report composition: :: *errors.fundamental (top exception) :: *withstack.withStack (1) (check the extra data payloads) @@ -5603,7 +6415,7 @@ Title: "*withstack.withStack" (github.com/cockroachdb/errors/fmttests.glob.)...funcNN... == Exception 2 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errors.fundamental: ×\n×" +Title: "*errors.fundamental: ×" :: (runtime) goexit() :: @@ -5798,20 +6610,43 @@ Error types: (1) *contexttags.withContext (2) *errors.fundamental ===== == Message payload :: × +(1) tags: [k×,safe=456] +Wraps: (2) ×× +× +× +× +× +× +× +× +× +× × --- +× +× +× +× +× +× +× +× +× +× +× +× +× +× +× +Error types: (1) *contexttags.withContext (2) *errors.fundamental +-- report composition: :: *errors.fundamental (top exception) -*contexttags.withContext: k× (1) -(check the extra data payloads) -== Extra "1: details" -k× -safe=456 +*contexttags.withContext: k× == Extra "error types" github.com/pkg/errors/*errors.fundamental (*::) github.com/cockroachdb/errors/contexttags/*contexttags.withContext (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errors.fundamental: ×\n×" +Title: "*errors.fundamental: ×" :: (runtime) goexit() :: @@ -5952,21 +6787,44 @@ Error types: (1) *telemetrykeys.withTelemetry (2) *errors.fundamental ===== == Message payload :: × +(1) keys: [somekey outerthree + | outerfour] +Wraps: (2) ×× +× +× +× +× +× +× +× +× +× +× +× +× +× × --- +× +× +× +× +× +× +× +× +× +× +× +Error types: (1) *telemetrykeys.withTelemetry (2) *errors.fundamental +-- report composition: :: *errors.fundamental (top exception) -*telemetrykeys.withTelemetry: somekey (1) -(check the extra data payloads) -== Extra "1: details" -somekey -outerthree - outerfour +*telemetrykeys.withTelemetry: somekey == Extra "error types" github.com/pkg/errors/*errors.fundamental (*::) github.com/cockroachdb/errors/telemetrykeys/*telemetrykeys.withTelemetry (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errors.fundamental: ×\n×" +Title: "*errors.fundamental: ×" :: (runtime) goexit() :: @@ -6124,23 +6982,52 @@ Error types: (1) *withstack.withStack (2) *errutil.withPrefix (3) *errors.fundam ===== Sentry reporting ===== == Message payload -:: new-stylew × -×: × +:: new-stylew ×: × +(1) attached stack trace + -- stack trace: + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | [...repeated from below...] +Wraps: (2) new-stylew × + | × +Wraps: (3) ×× +× +× +× +× +× +× +× +× +× +× +× +× × --- +× +× +× +× +× +× +× +× +× +× +× +× +Error types: (1) *withstack.withStack (2) *errutil.withPrefix (3) *errors.fundamental +-- report composition: :: *errors.fundamental (top exception) -*errutil.withPrefix: new-stylew × (1) -:: *withstack.withStack (2) +*errutil.withPrefix: new-stylew × +:: *withstack.withStack (1) (check the extra data payloads) -== Extra "1: details" -new-stylew × - × == Extra "error types" github.com/pkg/errors/*errors.fundamental (*::) github.com/cockroachdb/errors/errutil/*errutil.withPrefix (*::) github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) == Exception 1 (Module: "error domain: ") -Type: "(2) : ...funcNN... +Type: "(1) : ...funcNN... Title: "*withstack.withStack" :: (runtime) goexit() @@ -6168,7 +7055,7 @@ Title: "*withstack.withStack" (github.com/cockroachdb/errors/fmttests.glob.)...funcNN... == Exception 2 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errors.fundamental: new-stylew ×\n×: ×\n×" +Title: "*errors.fundamental: new-stylew ×: ×" :: (runtime) goexit() :: @@ -6200,7 +7087,6 @@ wrapf-attached outerthree outerfour require (?s)outerthree.*outerfour.* ---- ----- &withstack.withStack{ cause: &secondary.withSecondaryError{ cause: &errutil.withPrefix{ @@ -6399,54 +7285,84 @@ Error types: (1) *withstack.withStack (2) *secondary.withSecondaryError (3) *err ===== Sentry reporting ===== == Message payload -:: new-style × -× (payload): × +:: new-style ×: × +(1) attached stack trace + -- stack trace: + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | [...repeated from below...] +Wraps: (2) secondary error attachment + | payload + | (1) attached stack trace + | -- stack trace: + | | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | | : + | | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | | : + | | github.com/cockroachdb/datadriven.runDirective.func1 + | | : + | | github.com/cockroachdb/datadriven.runDirective + | | : + | | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | | : + | | github.com/cockroachdb/datadriven.runTestInternal + | | : + | | github.com/cockroachdb/datadriven.RunTest + | | : + | | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | | : + | | github.com/cockroachdb/datadriven.Walk + | | : + | | github.com/cockroachdb/datadriven.Walk.func1 + | | : + | | testing.tRunner + | | : + | | runtime.goexit + | | : + | Wraps: (2) payload + | Error types: (1) *withstack.withStack (2) *errutil.leafError +Wraps: (3) new-style × + | × (payload) +Wraps: (4) ×× +× +× +× +× +× +× +× +× +× +× +× +× +× × --- +× +× +× +× +× +× +× +× +× +× +× +Error types: (1) *withstack.withStack (2) *secondary.withSecondaryError (3) *errutil.withPrefix (4) *errors.fundamental +-- report composition: :: *errors.fundamental (top exception) -*errutil.withPrefix: new-style × (1) -*secondary.withSecondaryError: details for github.com/cockroachdb/errors/withstack/*withstack.withStack::: (2) -:: *withstack.withStack (3) +*errutil.withPrefix: new-style × +*secondary.withSecondaryError: details for github.com/cockroachdb/errors/withstack/*withstack.withStack::: +:: *withstack.withStack (1) (check the extra data payloads) -== Extra "1: details" -new-style × - × (payload) -== Extra "2: details" -details for github.com/cockroachdb/errors/withstack/*withstack.withStack::: - - github.com/cockroachdb/errors/fmttests.glob...funcNN... - : - github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 - : - github.com/cockroachdb/datadriven.runDirective.func1 - : - github.com/cockroachdb/datadriven.runDirective - : - github.com/cockroachdb/datadriven.runDirectiveOrSubTest - : - github.com/cockroachdb/datadriven.runTestInternal - : - github.com/cockroachdb/datadriven.RunTest - : - github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 - : - github.com/cockroachdb/datadriven.Walk - : - github.com/cockroachdb/datadriven.Walk.func1 - : - testing.tRunner - : - runtime.goexit - : -details for github.com/cockroachdb/errors/errutil/*errutil.leafError::: - payload == Extra "error types" github.com/pkg/errors/*errors.fundamental (*::) github.com/cockroachdb/errors/errutil/*errutil.withPrefix (*::) github.com/cockroachdb/errors/secondary/*secondary.withSecondaryError (*::) github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) == Exception 1 (Module: "error domain: ") -Type: "(3) : ...funcNN... +Type: "(1) : ...funcNN... Title: "*withstack.withStack" :: (runtime) goexit() @@ -6474,7 +7390,7 @@ Title: "*withstack.withStack" (github.com/cockroachdb/errors/fmttests.glob.)...funcNN... == Exception 2 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errors.fundamental: new-style ×\n× (payload): ×\n×" +Title: "*errors.fundamental: new-style ×: ×" :: (runtime) goexit() :: @@ -6499,5 +7415,3 @@ Title: "*errors.fundamental: new-style ×\n× (payload): ×\n×" (github.com/cockroachdb/errors/fmttests.TestDatadriven.func2) 1() :: (github.com/cockroachdb/errors/fmttests.glob.)...funcNN... ----- ----- diff --git a/fmttests/testdata/format/wrap-pkgerr-via-network b/fmttests/testdata/format/wrap-pkgerr-via-network index 94bfa39..29cdb67 100644 --- a/fmttests/testdata/format/wrap-pkgerr-via-network +++ b/fmttests/testdata/format/wrap-pkgerr-via-network @@ -5,11 +5,10 @@ opaque require (?s)innerone.*innertwo ---- ----- &assert.withAssertionFailure{ cause: &errbase.opaqueWrapper{ - cause: &barriers.barrierError{ - msg: "innerone\ninnertwo", + cause: &barriers.barrierErr{ + smsg: "‹innerone›\n‹innertwo›", maskedErr: &errbase.opaqueLeaf{ msg: "innerone\ninnertwo", details: errorspb.EncodedErrorDetails{ @@ -35,8 +34,8 @@ require (?s)innerone.*innertwo == %#v &assert.withAssertionFailure{ cause: &errbase.opaqueWrapper{ - cause: &barriers.barrierError{ - msg: "innerone\ninnertwo", + cause: &barriers.barrierErr{ + smsg: "‹innerone›\n‹innertwo›", maskedErr: &errbase.opaqueLeaf{ msg: "innerone\ninnertwo", details: errorspb.EncodedErrorDetails{ @@ -132,7 +131,7 @@ Wraps: (3) innerone | | runtime.goexit | | : | Error types: (1) *errbase.opaqueLeaf -Error types: (1) *assert.withAssertionFailure (2) *errbase.opaqueWrapper (3) *barriers.barrierError +Error types: (1) *assert.withAssertionFailure (2) *errbase.opaqueWrapper (3) *barriers.barrierErr == %#v via Formattable() = %#v, good == %v via Formattable() = Error(), good == %s via Formattable() = %v via Formattable(), good @@ -217,52 +216,90 @@ Wraps: (3) ‹innerone› | | runtime.goexit | | : | Error types: (1) *errbase.opaqueLeaf -Error types: (1) *assert.withAssertionFailure (2) *errbase.opaqueWrapper (3) *barriers.barrierError +Error types: (1) *assert.withAssertionFailure (2) *errbase.opaqueWrapper (3) *barriers.barrierErr ===== ===== Sentry reporting ===== == Message payload :: × -× --- -*barriers.barrierError: details for github.com/pkg/errors/*errors.fundamental::: (1) +(1) assertion failure +Wraps: (2) + | (opaque error wrapper) + | type name: github.com/cockroachdb/errors/withstack/*withstack.withStack + | reportable 0: + | + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (3) × + | × + | -- cause hidden behind barrier + | × + | (1) × + | | × + | | + | | (opaque error leaf) + | | type name: github.com/pkg/errors/*errors.fundamental + | | reportable 0: + | | + | | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | | : + | | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | | : + | | github.com/cockroachdb/datadriven.runDirective.func1 + | | : + | | github.com/cockroachdb/datadriven.runDirective + | | : + | | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | | : + | | github.com/cockroachdb/datadriven.runTestInternal + | | : + | | github.com/cockroachdb/datadriven.RunTest + | | : + | | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | | : + | | github.com/cockroachdb/datadriven.Walk + | | : + | | github.com/cockroachdb/datadriven.Walk.func1 + | | : + | | testing.tRunner + | | : + | | runtime.goexit + | | : + | Error types: (1) *errbase.opaqueLeaf +Error types: (1) *assert.withAssertionFailure (2) *errbase.opaqueWrapper (3) *barriers.barrierErr +-- report composition: +*barriers.barrierErr: details for github.com/pkg/errors/*errors.fundamental::: :: *withstack.withStack (top exception) *assert.withAssertionFailure -(check the extra data payloads) -== Extra "1: details" -details for github.com/pkg/errors/*errors.fundamental::: - - github.com/cockroachdb/errors/fmttests.glob...funcNN... - : - github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 - : - github.com/cockroachdb/datadriven.runDirective.func1 - : - github.com/cockroachdb/datadriven.runDirective - : - github.com/cockroachdb/datadriven.runDirectiveOrSubTest - : - github.com/cockroachdb/datadriven.runTestInternal - : - github.com/cockroachdb/datadriven.RunTest - : - github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 - : - github.com/cockroachdb/datadriven.Walk - : - github.com/cockroachdb/datadriven.Walk.func1 - : - testing.tRunner - : - runtime.goexit - : == Extra "error types" -github.com/cockroachdb/errors/barriers/*barriers.barrierError (*::) +github.com/cockroachdb/errors/barriers/*barriers.barrierErr (*::) github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) github.com/cockroachdb/errors/assert/*assert.withAssertionFailure (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*barriers.barrierError: ×\n×\nvia *withstack.withStack" +Title: "*barriers.barrierErr: ×\nvia *withstack.withStack" :: (runtime) goexit() :: @@ -287,8 +324,6 @@ Title: "*barriers.barrierError: ×\n×\nvia *withstack.withStack" (github.com/cockroachdb/errors/fmttests.TestDatadriven.func2) 1() :: (github.com/cockroachdb/errors/fmttests.glob.)...funcNN... ----- ----- run pkgerr innerone innertwo @@ -297,12 +332,11 @@ opaque require (?s)outerthree.*outerfour.*innerone.*innertwo ---- ----- &assert.withAssertionFailure{ cause: &errbase.opaqueWrapper{ cause: &errutil.withPrefix{ - cause: &barriers.barrierError{ - msg: "innerone\ninnertwo", + cause: &barriers.barrierErr{ + smsg: "‹innerone›\n‹innertwo›", maskedErr: &errbase.opaqueLeaf{ msg: "innerone\ninnertwo", details: errorspb.EncodedErrorDetails{ @@ -331,8 +365,8 @@ require (?s)outerthree.*outerfour.*innerone.*innertwo &assert.withAssertionFailure{ cause: &errbase.opaqueWrapper{ cause: &errutil.withPrefix{ - cause: &barriers.barrierError{ - msg: "innerone\ninnertwo", + cause: &barriers.barrierErr{ + smsg: "‹innerone›\n‹innertwo›", maskedErr: &errbase.opaqueLeaf{ msg: "innerone\ninnertwo", details: errorspb.EncodedErrorDetails{ @@ -433,7 +467,7 @@ Wraps: (4) innerone | | runtime.goexit | | : | Error types: (1) *errbase.opaqueLeaf -Error types: (1) *assert.withAssertionFailure (2) *errbase.opaqueWrapper (3) *errutil.withPrefix (4) *barriers.barrierError +Error types: (1) *assert.withAssertionFailure (2) *errbase.opaqueWrapper (3) *errutil.withPrefix (4) *barriers.barrierErr == %#v via Formattable() = %#v, good == %v via Formattable() = Error(), good == %s via Formattable() = %v via Formattable(), good @@ -521,58 +555,94 @@ Wraps: (4) ‹innerone› | | runtime.goexit | | : | Error types: (1) *errbase.opaqueLeaf -Error types: (1) *assert.withAssertionFailure (2) *errbase.opaqueWrapper (3) *errutil.withPrefix (4) *barriers.barrierError +Error types: (1) *assert.withAssertionFailure (2) *errbase.opaqueWrapper (3) *errutil.withPrefix (4) *barriers.barrierErr ===== ===== Sentry reporting ===== == Message payload -:: assertmsg: × -×: × -× --- -*barriers.barrierError: details for github.com/pkg/errors/*errors.fundamental::: (1) -*errutil.withPrefix: assertmsg: × (2) +:: assertmsg: ×: × +(1) assertion failure +Wraps: (2) + | (opaque error wrapper) + | type name: github.com/cockroachdb/errors/withstack/*withstack.withStack + | reportable 0: + | + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (3) assertmsg: × + | × +Wraps: (4) × + | × + | -- cause hidden behind barrier + | × + | (1) × + | | × + | | + | | (opaque error leaf) + | | type name: github.com/pkg/errors/*errors.fundamental + | | reportable 0: + | | + | | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | | : + | | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | | : + | | github.com/cockroachdb/datadriven.runDirective.func1 + | | : + | | github.com/cockroachdb/datadriven.runDirective + | | : + | | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | | : + | | github.com/cockroachdb/datadriven.runTestInternal + | | : + | | github.com/cockroachdb/datadriven.RunTest + | | : + | | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | | : + | | github.com/cockroachdb/datadriven.Walk + | | : + | | github.com/cockroachdb/datadriven.Walk.func1 + | | : + | | testing.tRunner + | | : + | | runtime.goexit + | | : + | Error types: (1) *errbase.opaqueLeaf +Error types: (1) *assert.withAssertionFailure (2) *errbase.opaqueWrapper (3) *errutil.withPrefix (4) *barriers.barrierErr +-- report composition: +*barriers.barrierErr: details for github.com/pkg/errors/*errors.fundamental::: +*errutil.withPrefix: assertmsg: × :: *withstack.withStack (top exception) *assert.withAssertionFailure -(check the extra data payloads) -== Extra "1: details" -details for github.com/pkg/errors/*errors.fundamental::: - - github.com/cockroachdb/errors/fmttests.glob...funcNN... - : - github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 - : - github.com/cockroachdb/datadriven.runDirective.func1 - : - github.com/cockroachdb/datadriven.runDirective - : - github.com/cockroachdb/datadriven.runDirectiveOrSubTest - : - github.com/cockroachdb/datadriven.runTestInternal - : - github.com/cockroachdb/datadriven.RunTest - : - github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 - : - github.com/cockroachdb/datadriven.Walk - : - github.com/cockroachdb/datadriven.Walk.func1 - : - testing.tRunner - : - runtime.goexit - : -== Extra "2: details" -assertmsg: × - × == Extra "error types" -github.com/cockroachdb/errors/barriers/*barriers.barrierError (*::) +github.com/cockroachdb/errors/barriers/*barriers.barrierErr (*::) github.com/cockroachdb/errors/errutil/*errutil.withPrefix (*::) github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) github.com/cockroachdb/errors/assert/*assert.withAssertionFailure (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*barriers.barrierError: assertmsg: ×\n×: ×\n×\nvia *withstack.withStack" +Title: "*barriers.barrierErr: assertmsg: ×: ×\nvia *withstack.withStack" :: (runtime) goexit() :: @@ -597,8 +667,6 @@ Title: "*barriers.barrierError: assertmsg: ×\n×: ×\n×\nvia *withstack.withSt (github.com/cockroachdb/errors/fmttests.TestDatadriven.func2) 1() :: (github.com/cockroachdb/errors/fmttests.glob.)...funcNN... ----- ----- run pkgerr innerone innertwo @@ -607,9 +675,8 @@ opaque require (?s)innerone.*innertwo ---- ----- -&barriers.barrierError{ - msg: "innerone\ninnertwo", +&barriers.barrierErr{ + smsg: "‹innerone›\n‹innertwo›", maskedErr: &errbase.opaqueLeaf{ msg: "innerone\ninnertwo", details: errorspb.EncodedErrorDetails{ @@ -624,8 +691,8 @@ require (?s)innerone.*innertwo ===== non-redactable formats ===== == %#v -&barriers.barrierError{ - msg: "innerone\ninnertwo", +&barriers.barrierErr{ + smsg: "‹innerone›\n‹innertwo›", maskedErr: &errbase.opaqueLeaf{ msg: "innerone\ninnertwo", details: errorspb.EncodedErrorDetails{ @@ -682,7 +749,7 @@ innerone | | runtime.goexit | | : | Error types: (1) *errbase.opaqueLeaf -Error types: (1) *barriers.barrierError +Error types: (1) *barriers.barrierErr == %#v via Formattable() = %#v, good == %v via Formattable() = Error(), good == %s via Formattable() = %v via Formattable(), good @@ -737,51 +804,57 @@ Error types: (1) *barriers.barrierError | | runtime.goexit | | : | Error types: (1) *errbase.opaqueLeaf -Error types: (1) *barriers.barrierError +Error types: (1) *barriers.barrierErr ===== ===== Sentry reporting ===== == Message payload × -× --- -*barriers.barrierError: details for github.com/pkg/errors/*errors.fundamental::: (1) -(check the extra data payloads) -== Extra "1: details" -details for github.com/pkg/errors/*errors.fundamental::: - - github.com/cockroachdb/errors/fmttests.glob...funcNN... - : - github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 - : - github.com/cockroachdb/datadriven.runDirective.func1 - : - github.com/cockroachdb/datadriven.runDirective - : - github.com/cockroachdb/datadriven.runDirectiveOrSubTest - : - github.com/cockroachdb/datadriven.runTestInternal - : - github.com/cockroachdb/datadriven.RunTest - : - github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 - : - github.com/cockroachdb/datadriven.Walk - : - github.com/cockroachdb/datadriven.Walk.func1 - : - testing.tRunner - : - runtime.goexit - : +(1) × + | × + | -- cause hidden behind barrier + | × + | (1) × + | | × + | | + | | (opaque error leaf) + | | type name: github.com/pkg/errors/*errors.fundamental + | | reportable 0: + | | + | | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | | : + | | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | | : + | | github.com/cockroachdb/datadriven.runDirective.func1 + | | : + | | github.com/cockroachdb/datadriven.runDirective + | | : + | | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | | : + | | github.com/cockroachdb/datadriven.runTestInternal + | | : + | | github.com/cockroachdb/datadriven.RunTest + | | : + | | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | | : + | | github.com/cockroachdb/datadriven.Walk + | | : + | | github.com/cockroachdb/datadriven.Walk.func1 + | | : + | | testing.tRunner + | | : + | | runtime.goexit + | | : + | Error types: (1) *errbase.opaqueLeaf +Error types: (1) *barriers.barrierErr +-- report composition: +*barriers.barrierErr: details for github.com/pkg/errors/*errors.fundamental::: == Extra "error types" -github.com/cockroachdb/errors/barriers/*barriers.barrierError (*::) +github.com/cockroachdb/errors/barriers/*barriers.barrierErr (*::) == Exception 1 (Module: "error domain: ") -Type: "*barriers.barrierError" -Title: "×\n×" +Type: "*barriers.barrierErr" +Title: "×" (NO STACKTRACE) ----- ----- run pkgerr innerone innertwo @@ -938,10 +1011,45 @@ Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueLeaf ===== Sentry reporting ===== == Message payload -:: × -×: × -× --- +:: ×: × +(1) × + | × + | + | (opaque error wrapper) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.werrDelegate +Wraps: (2) × + | × + | + | (opaque error leaf) + | type name: github.com/pkg/errors/*errors.fundamental + | reportable 0: + | + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueLeaf +-- report composition: :: *errors.fundamental (top exception) *fmttests.werrDelegate == Extra "error types" @@ -949,7 +1057,7 @@ github.com/pkg/errors/*errors.fundamental (*::) github.com/cockroachdb/errors/fmttests/*fmttests.werrDelegate (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errors.fundamental: ×\n×: ×\n×" +Title: "*errors.fundamental: ×: ×" :: (runtime) goexit() :: @@ -1125,8 +1233,42 @@ Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueLeaf ===== == Message payload :: × -× --- +(1) + | (opaque error wrapper) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.werrDelegateEmpty +Wraps: (2) × + | × + | + | (opaque error leaf) + | type name: github.com/pkg/errors/*errors.fundamental + | reportable 0: + | + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueLeaf +-- report composition: :: *errors.fundamental (top exception) *fmttests.werrDelegateEmpty == Extra "error types" @@ -1134,7 +1276,7 @@ github.com/pkg/errors/*errors.fundamental (*::) github.com/cockroachdb/errors/fmttests/*fmttests.werrDelegateEmpty (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errors.fundamental: ×\n×" +Title: "*errors.fundamental: ×" :: (runtime) goexit() :: @@ -1310,16 +1452,50 @@ Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueLeaf ===== == Message payload :: × -× --- -:: *errors.fundamental (top exception) -*fmttests.werrDelegateNoPrefix -== Extra "error types" -github.com/pkg/errors/*errors.fundamental (*::) -github.com/cockroachdb/errors/fmttests/*fmttests.werrDelegateNoPrefix (*::) -== Exception 1 (Module: "error domain: ") -Type: ": ...funcNN... -Title: "*errors.fundamental: ×\n×" +(1) + | (opaque error wrapper) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.werrDelegateNoPrefix +Wraps: (2) × + | × + | + | (opaque error leaf) + | type name: github.com/pkg/errors/*errors.fundamental + | reportable 0: + | + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueLeaf +-- report composition: +:: *errors.fundamental (top exception) +*fmttests.werrDelegateNoPrefix +== Extra "error types" +github.com/pkg/errors/*errors.fundamental (*::) +github.com/cockroachdb/errors/fmttests/*fmttests.werrDelegateNoPrefix (*::) +== Exception 1 (Module: "error domain: ") +Type: ": ...funcNN... +Title: "*errors.fundamental: ×" :: (runtime) goexit() :: @@ -1481,8 +1657,41 @@ Error types: (1) *hintdetail.withDetail (2) *errbase.opaqueLeaf ===== == Message payload :: × +(1) × × --- +Wraps: (2) × + | × + | + | (opaque error leaf) + | type name: github.com/pkg/errors/*errors.fundamental + | reportable 0: + | + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Error types: (1) *hintdetail.withDetail (2) *errbase.opaqueLeaf +-- report composition: :: *errors.fundamental (top exception) *hintdetail.withDetail == Extra "error types" @@ -1490,7 +1699,7 @@ github.com/pkg/errors/*errors.fundamental (*::) github.com/cockroachdb/errors/hintdetail/*hintdetail.withDetail (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errors.fundamental: ×\n×" +Title: "*errors.fundamental: ×" :: (runtime) goexit() :: @@ -1650,19 +1859,48 @@ Error types: (1) *domains.withDomain (2) *errbase.opaqueLeaf ===== == Message payload :: × -× --- +(1) mydomain +Wraps: (2) × + | × + | + | (opaque error leaf) + | type name: github.com/pkg/errors/*errors.fundamental + | reportable 0: + | + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Error types: (1) *domains.withDomain (2) *errbase.opaqueLeaf +-- report composition: :: *errors.fundamental (top exception) -*domains.withDomain: mydomain (1) -(check the extra data payloads) -== Extra "1: details" -mydomain +*domains.withDomain: mydomain == Extra "error types" github.com/pkg/errors/*errors.fundamental (*::) github.com/cockroachdb/errors/domains/*domains.withDomain (*::mydomain) == Exception 1 (Module: "mydomain") Type: ": ...funcNN... -Title: "*errors.fundamental: ×\n×" +Title: "*errors.fundamental: ×" :: (runtime) goexit() :: @@ -1824,8 +2062,41 @@ Error types: (1) *fmttests.werrWithElidedCause (2) *errbase.opaqueLeaf ===== == Message payload :: × +(1) ×× × --- +Wraps: (2) × + | × + | + | (opaque error leaf) + | type name: github.com/pkg/errors/*errors.fundamental + | reportable 0: + | + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Error types: (1) *fmttests.werrWithElidedCause (2) *errbase.opaqueLeaf +-- report composition: :: *errors.fundamental (top exception) *fmttests.werrWithElidedCause == Extra "error types" @@ -1833,7 +2104,7 @@ github.com/pkg/errors/*errors.fundamental (*::) github.com/cockroachdb/errors/fmttests/*fmttests.werrWithElidedCause (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errors.fundamental: ×\n×" +Title: "*errors.fundamental: ×" :: (runtime) goexit() :: @@ -2009,8 +2280,42 @@ Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueLeaf ===== == Message payload :: × -× --- +(1) + | (opaque error wrapper) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.werrEmpty +Wraps: (2) × + | × + | + | (opaque error leaf) + | type name: github.com/pkg/errors/*errors.fundamental + | reportable 0: + | + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueLeaf +-- report composition: :: *errors.fundamental (top exception) *fmttests.werrEmpty == Extra "error types" @@ -2018,7 +2323,7 @@ github.com/pkg/errors/*errors.fundamental (*::) github.com/cockroachdb/errors/fmttests/*fmttests.werrEmpty (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errors.fundamental: ×\n×" +Title: "*errors.fundamental: ×" :: (runtime) goexit() :: @@ -2199,10 +2504,45 @@ Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueLeaf ===== Sentry reporting ===== == Message payload -:: × -×: × -× --- +:: ×: × +(1) × + | × + | + | (opaque error wrapper) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.werrFmt +Wraps: (2) × + | × + | + | (opaque error leaf) + | type name: github.com/pkg/errors/*errors.fundamental + | reportable 0: + | + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueLeaf +-- report composition: :: *errors.fundamental (top exception) *fmttests.werrFmt == Extra "error types" @@ -2210,7 +2550,7 @@ github.com/pkg/errors/*errors.fundamental (*::) github.com/cockroachdb/errors/fmttests/*fmttests.werrFmt (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errors.fundamental: ×\n×: ×\n×" +Title: "*errors.fundamental: ×: ×" :: (runtime) goexit() :: @@ -2394,10 +2734,45 @@ Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueLeaf ===== Sentry reporting ===== == Message payload -:: × -×: × -× --- +:: ×: × +(1) × + | × + | + | (opaque error wrapper) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.werrFmto +Wraps: (2) × + | × + | + | (opaque error leaf) + | type name: github.com/pkg/errors/*errors.fundamental + | reportable 0: + | + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueLeaf +-- report composition: :: *errors.fundamental (top exception) *fmttests.werrFmto == Extra "error types" @@ -2405,7 +2780,7 @@ github.com/pkg/errors/*errors.fundamental (*::) github.com/cockroachdb/errors/fmttests/*fmttests.werrFmto (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errors.fundamental: ×\n×: ×\n×" +Title: "*errors.fundamental: ×: ×" :: (runtime) goexit() :: @@ -2589,18 +2964,53 @@ Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueLeaf ===== Sentry reporting ===== == Message payload -:: × -×: × -× --- -:: *errors.fundamental (top exception) -*fmttests.werrFmtoDelegate -== Extra "error types" -github.com/pkg/errors/*errors.fundamental (*::) -github.com/cockroachdb/errors/fmttests/*fmttests.werrFmtoDelegate (*::) -== Exception 1 (Module: "error domain: ") +:: ×: × +(1) × + | × + | + | (opaque error wrapper) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.werrFmtoDelegate +Wraps: (2) × + | × + | + | (opaque error leaf) + | type name: github.com/pkg/errors/*errors.fundamental + | reportable 0: + | + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueLeaf +-- report composition: +:: *errors.fundamental (top exception) +*fmttests.werrFmtoDelegate +== Extra "error types" +github.com/pkg/errors/*errors.fundamental (*::) +github.com/cockroachdb/errors/fmttests/*fmttests.werrFmtoDelegate (*::) +== Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errors.fundamental: ×\n×: ×\n×" +Title: "*errors.fundamental: ×: ×" :: (runtime) goexit() :: @@ -2781,10 +3191,45 @@ Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueLeaf ===== Sentry reporting ===== == Message payload -:: × -×: × -× --- +:: ×: × +(1) × + | × + | + | (opaque error wrapper) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.werrFmtp +Wraps: (2) × + | × + | + | (opaque error leaf) + | type name: github.com/pkg/errors/*errors.fundamental + | reportable 0: + | + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueLeaf +-- report composition: :: *errors.fundamental (top exception) *fmttests.werrFmtp == Extra "error types" @@ -2792,7 +3237,7 @@ github.com/pkg/errors/*errors.fundamental (*::) github.com/cockroachdb/errors/fmttests/*fmttests.werrFmtp (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errors.fundamental: ×\n×: ×\n×" +Title: "*errors.fundamental: ×: ×" :: (runtime) goexit() :: @@ -2976,10 +3421,45 @@ Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueLeaf ===== Sentry reporting ===== == Message payload -:: × -×: × -× --- +:: ×: × +(1) × + | × + | + | (opaque error wrapper) + | type name: fmt/*fmt.wrapError +Wraps: (2) × + | × + | + | (opaque error leaf) + | type name: github.com/pkg/errors/*errors.fundamental + | reportable 0: + | + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueLeaf +-- report composition: :: *errors.fundamental (top exception) *fmt.wrapError == Extra "error types" @@ -2987,7 +3467,7 @@ github.com/pkg/errors/*errors.fundamental (*::) fmt/*fmt.wrapError (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errors.fundamental: ×\n×: ×\n×" +Title: "*errors.fundamental: ×: ×" :: (runtime) goexit() :: @@ -3020,10 +3500,9 @@ opaque require (?s)innerone.*innertwo ---- ----- &domains.withDomain{ - cause: &barriers.barrierError{ - msg: "innerone\ninnertwo", + cause: &barriers.barrierErr{ + smsg: "‹innerone›\n‹innertwo›", maskedErr: &errbase.opaqueLeaf{ msg: "innerone\ninnertwo", details: errorspb.EncodedErrorDetails{ @@ -3041,8 +3520,8 @@ require (?s)innerone.*innertwo ===== == %#v &domains.withDomain{ - cause: &barriers.barrierError{ - msg: "innerone\ninnertwo", + cause: &barriers.barrierErr{ + smsg: "‹innerone›\n‹innertwo›", maskedErr: &errbase.opaqueLeaf{ msg: "innerone\ninnertwo", details: errorspb.EncodedErrorDetails{ @@ -3102,7 +3581,7 @@ Wraps: (2) innerone | | runtime.goexit | | : | Error types: (1) *errbase.opaqueLeaf -Error types: (1) *domains.withDomain (2) *barriers.barrierError +Error types: (1) *domains.withDomain (2) *barriers.barrierErr == %#v via Formattable() = %#v, good == %v via Formattable() = Error(), good == %s via Formattable() = %v via Formattable(), good @@ -3158,55 +3637,60 @@ Wraps: (2) ‹innerone› | | runtime.goexit | | : | Error types: (1) *errbase.opaqueLeaf -Error types: (1) *domains.withDomain (2) *barriers.barrierError +Error types: (1) *domains.withDomain (2) *barriers.barrierErr ===== ===== Sentry reporting ===== == Message payload × -× --- -*barriers.barrierError: details for github.com/pkg/errors/*errors.fundamental::: (1) -*domains.withDomain: error domain: pkg (2) -(check the extra data payloads) -== Extra "1: details" -details for github.com/pkg/errors/*errors.fundamental::: - - github.com/cockroachdb/errors/fmttests.glob...funcNN... - : - github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 - : - github.com/cockroachdb/datadriven.runDirective.func1 - : - github.com/cockroachdb/datadriven.runDirective - : - github.com/cockroachdb/datadriven.runDirectiveOrSubTest - : - github.com/cockroachdb/datadriven.runTestInternal - : - github.com/cockroachdb/datadriven.RunTest - : - github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 - : - github.com/cockroachdb/datadriven.Walk - : - github.com/cockroachdb/datadriven.Walk.func1 - : - testing.tRunner - : - runtime.goexit - : -== Extra "2: details" -error domain: pkg +(1) error domain: pkg +Wraps: (2) × + | × + | -- cause hidden behind barrier + | × + | (1) × + | | × + | | + | | (opaque error leaf) + | | type name: github.com/pkg/errors/*errors.fundamental + | | reportable 0: + | | + | | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | | : + | | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | | : + | | github.com/cockroachdb/datadriven.runDirective.func1 + | | : + | | github.com/cockroachdb/datadriven.runDirective + | | : + | | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | | : + | | github.com/cockroachdb/datadriven.runTestInternal + | | : + | | github.com/cockroachdb/datadriven.RunTest + | | : + | | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | | : + | | github.com/cockroachdb/datadriven.Walk + | | : + | | github.com/cockroachdb/datadriven.Walk.func1 + | | : + | | testing.tRunner + | | : + | | runtime.goexit + | | : + | Error types: (1) *errbase.opaqueLeaf +Error types: (1) *domains.withDomain (2) *barriers.barrierErr +-- report composition: +*barriers.barrierErr: details for github.com/pkg/errors/*errors.fundamental::: +*domains.withDomain: error domain: pkg == Extra "error types" -github.com/cockroachdb/errors/barriers/*barriers.barrierError (*::) +github.com/cockroachdb/errors/barriers/*barriers.barrierErr (*::) github.com/cockroachdb/errors/domains/*domains.withDomain (*::error domain: pkg ) == Exception 1 (Module: "error domain: pkg ") -Type: "*barriers.barrierError" -Title: "×\n×" +Type: "*barriers.barrierErr" +Title: "×" (NO STACKTRACE) ----- ----- run pkgerr innerone innertwo @@ -3344,8 +3828,41 @@ Error types: (1) *hintdetail.withHint (2) *errbase.opaqueLeaf ===== == Message payload :: × +(1) × × --- +Wraps: (2) × + | × + | + | (opaque error leaf) + | type name: github.com/pkg/errors/*errors.fundamental + | reportable 0: + | + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Error types: (1) *hintdetail.withHint (2) *errbase.opaqueLeaf +-- report composition: :: *errors.fundamental (top exception) *hintdetail.withHint == Extra "error types" @@ -3353,7 +3870,7 @@ github.com/pkg/errors/*errors.fundamental (*::) github.com/cockroachdb/errors/hintdetail/*hintdetail.withHint (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errors.fundamental: ×\n×" +Title: "*errors.fundamental: ×" :: (runtime) goexit() :: @@ -3517,21 +4034,50 @@ Error types: (1) *issuelink.withIssueLink (2) *errbase.opaqueLeaf ===== == Message payload :: × -× --- +(1) issue: https://mysite + | detail: outerthree + | outerfour +Wraps: (2) × + | × + | + | (opaque error leaf) + | type name: github.com/pkg/errors/*errors.fundamental + | reportable 0: + | + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Error types: (1) *issuelink.withIssueLink (2) *errbase.opaqueLeaf +-- report composition: :: *errors.fundamental (top exception) -*issuelink.withIssueLink: https://mysite (1) -(check the extra data payloads) -== Extra "1: details" -https://mysite -outerthree - outerfour +*issuelink.withIssueLink: https://mysite == Extra "error types" github.com/pkg/errors/*errors.fundamental (*::) github.com/cockroachdb/errors/issuelink/*issuelink.withIssueLink (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errors.fundamental: ×\n×" +Title: "*errors.fundamental: ×" :: (runtime) goexit() :: @@ -3707,39 +4253,73 @@ Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueLeaf ===== == Message payload :: × -× --- -:: *errors.fundamental (top exception) -*fmttests.werrMigrated -== Extra "error types" -github.com/pkg/errors/*errors.fundamental (*::) -github.com/cockroachdb/errors/fmttests/*fmttests.werrMigrated (some/previous/path/prevpkg.prevType::) -== Exception 1 (Module: "error domain: ") -Type: ": ...funcNN... -Title: "*errors.fundamental: ×\n×" -:: - (runtime) goexit() -:: - (testing) tRunner() -:: - (github.com/cockroachdb/datadriven.Walk)...funcNN... -:: - (github.com/cockroachdb/datadriven) Walk() -:: - (github.com/cockroachdb/errors/fmttests.TestDatadriven)...funcNN... -:: - (github.com/cockroachdb/datadriven) RunTest() -:: - (github.com/cockroachdb/datadriven) runTestInternal() -:: - (github.com/cockroachdb/datadriven) runDirectiveOrSubTest() -:: - (github.com/cockroachdb/datadriven) runDirective() -:: - (github.com/cockroachdb/datadriven.runDirective)...funcNN... -:: - (github.com/cockroachdb/errors/fmttests.TestDatadriven.func2) 1() -:: +(1) + | (opaque error wrapper) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.werrMigrated +Wraps: (2) × + | × + | + | (opaque error leaf) + | type name: github.com/pkg/errors/*errors.fundamental + | reportable 0: + | + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueLeaf +-- report composition: +:: *errors.fundamental (top exception) +*fmttests.werrMigrated +== Extra "error types" +github.com/pkg/errors/*errors.fundamental (*::) +github.com/cockroachdb/errors/fmttests/*fmttests.werrMigrated (some/previous/path/prevpkg.prevType::) +== Exception 1 (Module: "error domain: ") +Type: ": ...funcNN... +Title: "*errors.fundamental: ×" +:: + (runtime) goexit() +:: + (testing) tRunner() +:: + (github.com/cockroachdb/datadriven.Walk)...funcNN... +:: + (github.com/cockroachdb/datadriven) Walk() +:: + (github.com/cockroachdb/errors/fmttests.TestDatadriven)...funcNN... +:: + (github.com/cockroachdb/datadriven) RunTest() +:: + (github.com/cockroachdb/datadriven) runTestInternal() +:: + (github.com/cockroachdb/datadriven) runDirectiveOrSubTest() +:: + (github.com/cockroachdb/datadriven) runDirective() +:: + (github.com/cockroachdb/datadriven.runDirective)...funcNN... +:: + (github.com/cockroachdb/errors/fmttests.TestDatadriven.func2) 1() +:: (github.com/cockroachdb/errors/fmttests.glob.)...funcNN... run @@ -3879,22 +4459,50 @@ Error types: (1) *errutil.withPrefix (2) *errbase.opaqueLeaf ===== Sentry reporting ===== == Message payload -:: outerthree -outerfour: × -× --- +:: outerthree: × +(1) outerthree + | outerfour +Wraps: (2) × + | × + | + | (opaque error leaf) + | type name: github.com/pkg/errors/*errors.fundamental + | reportable 0: + | + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Error types: (1) *errutil.withPrefix (2) *errbase.opaqueLeaf +-- report composition: :: *errors.fundamental (top exception) -*errutil.withPrefix: outerthree (1) -(check the extra data payloads) -== Extra "1: details" -outerthree - outerfour +*errutil.withPrefix: outerthree == Extra "error types" github.com/pkg/errors/*errors.fundamental (*::) github.com/cockroachdb/errors/errutil/*errutil.withPrefix (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errors.fundamental: outerthree\nouterfour: ×\n×" +Title: "*errors.fundamental: outerthree: ×" :: (runtime) goexit() :: @@ -3927,7 +4535,6 @@ opaque require (?s)outerthree.*outerfour.*innerone.*innertwo ---- ----- &errbase.opaqueWrapper{ cause: &secondary.withSecondaryError{ cause: &errutil.withNewMessage{ @@ -4227,52 +4834,117 @@ Error types: (1) *errbase.opaqueWrapper (2) *secondary.withSecondaryError (3) *e ===== == Message payload :: new-style (× -×) :: × -× :: --- +(1) + | (opaque error wrapper) + | type name: github.com/cockroachdb/errors/withstack/*withstack.withStack + | reportable 0: + | + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (2) secondary error attachment + | × + | (1) × + | | × + | | + | | (opaque error leaf) + | | type name: github.com/pkg/errors/*errors.fundamental + | | reportable 0: + | | + | | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | | : + | | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | | : + | | github.com/cockroachdb/datadriven.runDirective.func1 + | | : + | | github.com/cockroachdb/datadriven.runDirective + | | : + | | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | | : + | | github.com/cockroachdb/datadriven.runTestInternal + | | : + | | github.com/cockroachdb/datadriven.RunTest + | | : + | | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | | : + | | github.com/cockroachdb/datadriven.Walk + | | : + | | github.com/cockroachdb/datadriven.Walk.func1 + | | : + | | testing.tRunner + | | : + | | runtime.goexit + | | : + | Error types: (1) *errbase.opaqueLeaf +Wraps: (3) new-style (× + | ×) :: × + | × :: +Wraps: (4) × + | × + | + | (opaque error leaf) + | type name: github.com/pkg/errors/*errors.fundamental + | reportable 0: + | + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Error types: (1) *errbase.opaqueWrapper (2) *secondary.withSecondaryError (3) *errutil.withNewMessage (4) *errbase.opaqueLeaf +-- report composition: :: *errors.fundamental (top exception) -*errutil.withNewMessage: new-style (× (1) -*secondary.withSecondaryError: details for github.com/pkg/errors/*errors.fundamental::: (2) -:: *withstack.withStack (3) +*errutil.withNewMessage: new-style (× +*secondary.withSecondaryError: details for github.com/pkg/errors/*errors.fundamental::: +:: *withstack.withStack (1) (check the extra data payloads) -== Extra "1: details" -new-style (× - ×) :: × - × :: -== Extra "2: details" -details for github.com/pkg/errors/*errors.fundamental::: - - github.com/cockroachdb/errors/fmttests.glob...funcNN... - : - github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 - : - github.com/cockroachdb/datadriven.runDirective.func1 - : - github.com/cockroachdb/datadriven.runDirective - : - github.com/cockroachdb/datadriven.runDirectiveOrSubTest - : - github.com/cockroachdb/datadriven.runTestInternal - : - github.com/cockroachdb/datadriven.RunTest - : - github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 - : - github.com/cockroachdb/datadriven.Walk - : - github.com/cockroachdb/datadriven.Walk.func1 - : - testing.tRunner - : - runtime.goexit - : == Extra "error types" github.com/pkg/errors/*errors.fundamental (*::) github.com/cockroachdb/errors/errutil/*errutil.withNewMessage (*::) github.com/cockroachdb/errors/secondary/*secondary.withSecondaryError (*::) github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) == Exception 1 (Module: "error domain: ") -Type: "(3) : ...funcNN... +Type: "(1) : ...funcNN... Title: "*withstack.withStack" :: (runtime) goexit() @@ -4300,7 +4972,7 @@ Title: "*withstack.withStack" (github.com/cockroachdb/errors/fmttests.glob.)...funcNN... == Exception 2 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errors.fundamental: new-style (×\n×) :: ×\n× ::" +Title: "*errors.fundamental: new-style (×" :: (runtime) goexit() :: @@ -4325,8 +4997,6 @@ Title: "*errors.fundamental: new-style (×\n×) :: ×\n× ::" (github.com/cockroachdb/errors/fmttests.TestDatadriven.func2) 1() :: (github.com/cockroachdb/errors/fmttests.glob.)...funcNN... ----- ----- run pkgerr innerone innertwo @@ -4486,10 +5156,45 @@ Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueLeaf ===== Sentry reporting ===== == Message payload -:: × -×: × -× --- +:: ×: × +(1) × + | × + | + | (opaque error wrapper) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.werrNoFmt +Wraps: (2) × + | × + | + | (opaque error leaf) + | type name: github.com/pkg/errors/*errors.fundamental + | reportable 0: + | + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueLeaf +-- report composition: :: *errors.fundamental (top exception) *fmttests.werrNoFmt == Extra "error types" @@ -4497,7 +5202,7 @@ github.com/pkg/errors/*errors.fundamental (*::) github.com/cockroachdb/errors/fmttests/*fmttests.werrNoFmt (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errors.fundamental: ×\n×: ×\n×" +Title: "*errors.fundamental: ×: ×" :: (runtime) goexit() :: @@ -4673,8 +5378,40 @@ Error types: (1) *os.LinkError (2) *errbase.opaqueLeaf ===== == Message payload :: link × ×: × -× --- +(1) link × × +Wraps: (2) × + | × + | + | (opaque error leaf) + | type name: github.com/pkg/errors/*errors.fundamental + | reportable 0: + | + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Error types: (1) *os.LinkError (2) *errbase.opaqueLeaf +-- report composition: :: *errors.fundamental (top exception) *os.LinkError == Extra "error types" @@ -4682,7 +5419,7 @@ github.com/pkg/errors/*errors.fundamental (*::) os/*os.LinkError (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errors.fundamental: link × ×: ×\n×" +Title: "*errors.fundamental: link × ×: ×" :: (runtime) goexit() :: @@ -4863,8 +5600,43 @@ Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueLeaf ===== == Message payload :: ×: × -× --- +(1) × + | + | (opaque error wrapper) + | type name: net/*net.OpError +Wraps: (2) × + | × + | + | (opaque error leaf) + | type name: github.com/pkg/errors/*errors.fundamental + | reportable 0: + | + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueLeaf +-- report composition: :: *errors.fundamental (top exception) *net.OpError == Extra "error types" @@ -4872,7 +5644,7 @@ github.com/pkg/errors/*errors.fundamental (*::) net/*net.OpError (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errors.fundamental: ×: ×\n×" +Title: "*errors.fundamental: ×: ×" :: (runtime) goexit() :: @@ -5046,8 +5818,40 @@ Error types: (1) *fs.PathError (2) *errbase.opaqueLeaf ===== == Message payload :: link ×: × -× --- +(1) link × +Wraps: (2) × + | × + | + | (opaque error leaf) + | type name: github.com/pkg/errors/*errors.fundamental + | reportable 0: + | + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Error types: (1) *fs.PathError (2) *errbase.opaqueLeaf +-- report composition: :: *errors.fundamental (top exception) *fs.PathError == Extra "error types" @@ -5055,7 +5859,7 @@ github.com/pkg/errors/*errors.fundamental (*::) io/fs/*fs.PathError (os/*os.PathError::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errors.fundamental: link ×: ×\n×" +Title: "*errors.fundamental: link ×: ×" :: (runtime) goexit() :: @@ -5227,8 +6031,40 @@ Error types: (1) *os.SyscallError (2) *errbase.opaqueLeaf ===== == Message payload :: open: × -× --- +(1) open +Wraps: (2) × + | × + | + | (opaque error leaf) + | type name: github.com/pkg/errors/*errors.fundamental + | reportable 0: + | + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Error types: (1) *os.SyscallError (2) *errbase.opaqueLeaf +-- report composition: :: *errors.fundamental (top exception) *os.SyscallError == Extra "error types" @@ -5236,7 +6072,7 @@ github.com/pkg/errors/*errors.fundamental (*::) os/*os.SyscallError (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errors.fundamental: open: ×\n×" +Title: "*errors.fundamental: open: ×" :: (runtime) goexit() :: @@ -5447,10 +6283,42 @@ Error types: (1) *errors.withMessage (2) *errbase.opaqueLeaf ===== Sentry reporting ===== == Message payload -:: × -×: × +:: ×: × +(1) ×× × --- +Wraps: (2) × + | × + | + | (opaque error leaf) + | type name: github.com/pkg/errors/*errors.fundamental + | reportable 0: + | + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Error types: (1) *errors.withMessage (2) *errbase.opaqueLeaf +-- report composition: :: *errors.fundamental (top exception) *errors.withMessage == Extra "error types" @@ -5458,7 +6326,7 @@ github.com/pkg/errors/*errors.fundamental (*::) github.com/pkg/errors/*errors.withMessage (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errors.fundamental: ×\n×: ×\n×" +Title: "*errors.fundamental: ×: ×" :: (runtime) goexit() :: @@ -5575,8 +6443,87 @@ innerone | : | runtime.goexit | : -Wraps: (2) innerone - | innertwo +Wraps: (2) innerone + | innertwo + | + | (opaque error leaf) + | type name: github.com/pkg/errors/*errors.fundamental + | reportable 0: + | + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueLeaf +== %#v via Formattable() = %#v, good +== %v via Formattable() = Error(), good +== %s via Formattable() = %v via Formattable(), good +== %q via Formattable() = quoted %v via Formattable(), good +== %+v via Formattable() == %+v, good +===== +===== redactable formats +===== +== printed via redact Print(), ok - congruent with %v +‹innerone› +‹innertwo› +== printed via redact Printf() %v = Print(), good +== printed via redact Printf() %s = Print(), good +== printed via redact Printf() %q, refused - good +== printed via redact Printf() %x, refused - good +== printed via redact Printf() %X, refused - good +== printed via redact Printf() %+v, ok - congruent with %+v +‹innerone› +(1) + | (opaque error wrapper) + | type name: github.com/pkg/errors/*errors.withStack + | reportable 0: + | + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (2) ‹innerone› + | ‹innertwo› | | (opaque error leaf) | type name: github.com/pkg/errors/*errors.fundamental @@ -5607,24 +6554,11 @@ Wraps: (2) innerone | runtime.goexit | : Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueLeaf -== %#v via Formattable() = %#v, good -== %v via Formattable() = Error(), good -== %s via Formattable() = %v via Formattable(), good -== %q via Formattable() = quoted %v via Formattable(), good -== %+v via Formattable() == %+v, good ===== -===== redactable formats +===== Sentry reporting ===== -== printed via redact Print(), ok - congruent with %v -‹innerone› -‹innertwo› -== printed via redact Printf() %v = Print(), good -== printed via redact Printf() %s = Print(), good -== printed via redact Printf() %q, refused - good -== printed via redact Printf() %x, refused - good -== printed via redact Printf() %X, refused - good -== printed via redact Printf() %+v, ok - congruent with %+v -‹innerone› +== Message payload +:: × (1) | (opaque error wrapper) | type name: github.com/pkg/errors/*errors.withStack @@ -5654,8 +6588,8 @@ Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueLeaf | : | runtime.goexit | : -Wraps: (2) ‹innerone› - | ‹innertwo› +Wraps: (2) × + | × | | (opaque error leaf) | type name: github.com/pkg/errors/*errors.fundamental @@ -5686,13 +6620,7 @@ Wraps: (2) ‹innerone› | runtime.goexit | : Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueLeaf -===== -===== Sentry reporting -===== -== Message payload -:: × -× --- +-- report composition: :: *errors.fundamental (top exception) :: *errors.withStack (1) (check the extra data payloads) @@ -5728,7 +6656,7 @@ Title: "*errors.withStack" (github.com/cockroachdb/errors/fmttests.glob.)...funcNN... == Exception 2 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errors.fundamental: ×\n×" +Title: "*errors.fundamental: ×" :: (runtime) goexit() :: @@ -5890,20 +6818,49 @@ Error types: (1) *safedetails.withSafeDetails (2) *errbase.opaqueLeaf ===== == Message payload :: × -× --- +(1) safe × + | × +Wraps: (2) × + | × + | + | (opaque error leaf) + | type name: github.com/pkg/errors/*errors.fundamental + | reportable 0: + | + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Error types: (1) *safedetails.withSafeDetails (2) *errbase.opaqueLeaf +-- report composition: :: *errors.fundamental (top exception) -*safedetails.withSafeDetails: safe × (1) -(check the extra data payloads) -== Extra "1: details" -safe × - × +*safedetails.withSafeDetails: safe × == Extra "error types" github.com/pkg/errors/*errors.fundamental (*::) github.com/cockroachdb/errors/safedetails/*safedetails.withSafeDetails (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errors.fundamental: ×\n×" +Title: "*errors.fundamental: ×" :: (runtime) goexit() :: @@ -6084,10 +7041,45 @@ Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueLeaf ===== Sentry reporting ===== == Message payload -:: × -×: × -× --- +:: ×: × +(1) × + | × + | + | (opaque error wrapper) + | type name: github.com/cockroachdb/errors/fmttests/*fmttests.werrSafeFormat +Wraps: (2) × + | × + | + | (opaque error leaf) + | type name: github.com/pkg/errors/*errors.fundamental + | reportable 0: + | + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueLeaf +-- report composition: :: *errors.fundamental (top exception) *fmttests.werrSafeFormat == Extra "error types" @@ -6095,7 +7087,7 @@ github.com/pkg/errors/*errors.fundamental (*::) github.com/cockroachdb/errors/fmttests/*fmttests.werrSafeFormat (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errors.fundamental: ×\n×: ×\n×" +Title: "*errors.fundamental: ×: ×" :: (runtime) goexit() :: @@ -6128,7 +7120,6 @@ opaque require (?s)innerone.*innertwo ---- ----- &secondary.withSecondaryError{ cause: &errbase.opaqueLeaf{ msg: "innerone\ninnertwo", @@ -6340,47 +7331,81 @@ Error types: (1) *secondary.withSecondaryError (2) *errbase.opaqueLeaf ===== == Message payload :: × -× --- +(1) secondary error attachment + | outerthree + | (1) + | | (opaque error wrapper) + | | type name: github.com/cockroachdb/errors/withstack/*withstack.withStack + | | reportable 0: + | | + | | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | | : + | | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | | : + | | github.com/cockroachdb/datadriven.runDirective.func1 + | | : + | | github.com/cockroachdb/datadriven.runDirective + | | : + | | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | | : + | | github.com/cockroachdb/datadriven.runTestInternal + | | : + | | github.com/cockroachdb/datadriven.RunTest + | | : + | | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | | : + | | github.com/cockroachdb/datadriven.Walk + | | : + | | github.com/cockroachdb/datadriven.Walk.func1 + | | : + | | testing.tRunner + | | : + | | runtime.goexit + | | : + | Wraps: (2) outerthree + | | outerfour + | Error types: (1) *errbase.opaqueWrapper (2) *errutil.leafError +Wraps: (2) × + | × + | + | (opaque error leaf) + | type name: github.com/pkg/errors/*errors.fundamental + | reportable 0: + | + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Error types: (1) *secondary.withSecondaryError (2) *errbase.opaqueLeaf +-- report composition: :: *errors.fundamental (top exception) -*secondary.withSecondaryError: details for github.com/cockroachdb/errors/withstack/*withstack.withStack::: (1) -(check the extra data payloads) -== Extra "1: details" -details for github.com/cockroachdb/errors/withstack/*withstack.withStack::: - - github.com/cockroachdb/errors/fmttests.glob...funcNN... - : - github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 - : - github.com/cockroachdb/datadriven.runDirective.func1 - : - github.com/cockroachdb/datadriven.runDirective - : - github.com/cockroachdb/datadriven.runDirectiveOrSubTest - : - github.com/cockroachdb/datadriven.runTestInternal - : - github.com/cockroachdb/datadriven.RunTest - : - github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 - : - github.com/cockroachdb/datadriven.Walk - : - github.com/cockroachdb/datadriven.Walk.func1 - : - testing.tRunner - : - runtime.goexit - : -details for github.com/cockroachdb/errors/errutil/*errutil.leafError::: - outerthree - outerfour +*secondary.withSecondaryError: details for github.com/cockroachdb/errors/withstack/*withstack.withStack::: == Extra "error types" github.com/pkg/errors/*errors.fundamental (*::) github.com/cockroachdb/errors/secondary/*secondary.withSecondaryError (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errors.fundamental: ×\n×" +Title: "*errors.fundamental: ×" :: (runtime) goexit() :: @@ -6405,8 +7430,6 @@ Title: "*errors.fundamental: ×\n×" (github.com/cockroachdb/errors/fmttests.TestDatadriven.func2) 1() :: (github.com/cockroachdb/errors/fmttests.glob.)...funcNN... ----- ----- run pkgerr innerone innertwo @@ -6532,18 +7555,84 @@ Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueLeaf == %q via Formattable() = quoted %v via Formattable(), good == %+v via Formattable() == %+v, good ===== -===== redactable formats +===== redactable formats +===== +== printed via redact Print(), ok - congruent with %v +‹innerone› +‹innertwo› +== printed via redact Printf() %v = Print(), good +== printed via redact Printf() %s = Print(), good +== printed via redact Printf() %q, refused - good +== printed via redact Printf() %x, refused - good +== printed via redact Printf() %X, refused - good +== printed via redact Printf() %+v, ok - congruent with %+v +‹innerone› +(1) + | (opaque error wrapper) + | type name: github.com/cockroachdb/errors/withstack/*withstack.withStack + | reportable 0: + | + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (2) ‹innerone› + | ‹innertwo› + | + | (opaque error leaf) + | type name: github.com/pkg/errors/*errors.fundamental + | reportable 0: + | + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueLeaf +===== +===== Sentry reporting ===== -== printed via redact Print(), ok - congruent with %v -‹innerone› -‹innertwo› -== printed via redact Printf() %v = Print(), good -== printed via redact Printf() %s = Print(), good -== printed via redact Printf() %q, refused - good -== printed via redact Printf() %x, refused - good -== printed via redact Printf() %X, refused - good -== printed via redact Printf() %+v, ok - congruent with %+v -‹innerone› +== Message payload +:: × (1) | (opaque error wrapper) | type name: github.com/cockroachdb/errors/withstack/*withstack.withStack @@ -6573,8 +7662,8 @@ Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueLeaf | : | runtime.goexit | : -Wraps: (2) ‹innerone› - | ‹innertwo› +Wraps: (2) × + | × | | (opaque error leaf) | type name: github.com/pkg/errors/*errors.fundamental @@ -6605,13 +7694,7 @@ Wraps: (2) ‹innerone› | runtime.goexit | : Error types: (1) *errbase.opaqueWrapper (2) *errbase.opaqueLeaf -===== -===== Sentry reporting -===== -== Message payload -:: × -× --- +-- report composition: :: *errors.fundamental (top exception) :: *withstack.withStack (1) (check the extra data payloads) @@ -6647,7 +7730,7 @@ Title: "*withstack.withStack" (github.com/cockroachdb/errors/fmttests.glob.)...funcNN... == Exception 2 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errors.fundamental: ×\n×" +Title: "*errors.fundamental: ×" :: (runtime) goexit() :: @@ -6855,20 +7938,48 @@ Error types: (1) *contexttags.withContext (2) *errbase.opaqueLeaf ===== == Message payload :: × -× --- +(1) tags: [k×,safe=×] +Wraps: (2) × + | × + | + | (opaque error leaf) + | type name: github.com/pkg/errors/*errors.fundamental + | reportable 0: + | + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Error types: (1) *contexttags.withContext (2) *errbase.opaqueLeaf +-- report composition: :: *errors.fundamental (top exception) -*contexttags.withContext: k× (1) -(check the extra data payloads) -== Extra "1: details" -k× -safe=456 +*contexttags.withContext: k× == Extra "error types" github.com/pkg/errors/*errors.fundamental (*::) github.com/cockroachdb/errors/contexttags/*contexttags.withContext (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errors.fundamental: ×\n×" +Title: "*errors.fundamental: ×" :: (runtime) goexit() :: @@ -7030,21 +8141,49 @@ Error types: (1) *telemetrykeys.withTelemetry (2) *errbase.opaqueLeaf ===== == Message payload :: × -× --- +(1) keys: [somekey outerthree + | outerfour] +Wraps: (2) × + | × + | + | (opaque error leaf) + | type name: github.com/pkg/errors/*errors.fundamental + | reportable 0: + | + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Error types: (1) *telemetrykeys.withTelemetry (2) *errbase.opaqueLeaf +-- report composition: :: *errors.fundamental (top exception) -*telemetrykeys.withTelemetry: somekey (1) -(check the extra data payloads) -== Extra "1: details" -somekey -outerthree - outerfour +*telemetrykeys.withTelemetry: somekey == Extra "error types" github.com/pkg/errors/*errors.fundamental (*::) github.com/cockroachdb/errors/telemetrykeys/*telemetrykeys.withTelemetry (*::) == Exception 1 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errors.fundamental: ×\n×" +Title: "*errors.fundamental: ×" :: (runtime) goexit() :: @@ -7283,23 +8422,81 @@ Error types: (1) *errbase.opaqueWrapper (2) *errutil.withPrefix (3) *errbase.opa ===== Sentry reporting ===== == Message payload -:: new-stylew × -×: × -× --- +:: new-stylew ×: × +(1) + | (opaque error wrapper) + | type name: github.com/cockroachdb/errors/withstack/*withstack.withStack + | reportable 0: + | + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (2) new-stylew × + | × +Wraps: (3) × + | × + | + | (opaque error leaf) + | type name: github.com/pkg/errors/*errors.fundamental + | reportable 0: + | + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Error types: (1) *errbase.opaqueWrapper (2) *errutil.withPrefix (3) *errbase.opaqueLeaf +-- report composition: :: *errors.fundamental (top exception) -*errutil.withPrefix: new-stylew × (1) -:: *withstack.withStack (2) +*errutil.withPrefix: new-stylew × +:: *withstack.withStack (1) (check the extra data payloads) -== Extra "1: details" -new-stylew × - × == Extra "error types" github.com/pkg/errors/*errors.fundamental (*::) github.com/cockroachdb/errors/errutil/*errutil.withPrefix (*::) github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) == Exception 1 (Module: "error domain: ") -Type: "(2) : ...funcNN... +Type: "(1) : ...funcNN... Title: "*withstack.withStack" :: (runtime) goexit() @@ -7327,7 +8524,7 @@ Title: "*withstack.withStack" (github.com/cockroachdb/errors/fmttests.glob.)...funcNN... == Exception 2 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errors.fundamental: new-stylew ×\n×: ×\n×" +Title: "*errors.fundamental: new-stylew ×: ×" :: (runtime) goexit() :: @@ -7360,7 +8557,6 @@ opaque require (?s)outerthree.*outerfour.*innerone.*innertwo ---- ----- &errbase.opaqueWrapper{ cause: &secondary.withSecondaryError{ cause: &errutil.withPrefix{ @@ -7657,54 +8853,116 @@ Error types: (1) *errbase.opaqueWrapper (2) *secondary.withSecondaryError (3) *e ===== Sentry reporting ===== == Message payload -:: new-style × -× (payload): × -× --- +:: new-style ×: × +(1) + | (opaque error wrapper) + | type name: github.com/cockroachdb/errors/withstack/*withstack.withStack + | reportable 0: + | + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Wraps: (2) secondary error attachment + | payload + | (1) + | | (opaque error wrapper) + | | type name: github.com/cockroachdb/errors/withstack/*withstack.withStack + | | reportable 0: + | | + | | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | | : + | | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | | : + | | github.com/cockroachdb/datadriven.runDirective.func1 + | | : + | | github.com/cockroachdb/datadriven.runDirective + | | : + | | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | | : + | | github.com/cockroachdb/datadriven.runTestInternal + | | : + | | github.com/cockroachdb/datadriven.RunTest + | | : + | | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | | : + | | github.com/cockroachdb/datadriven.Walk + | | : + | | github.com/cockroachdb/datadriven.Walk.func1 + | | : + | | testing.tRunner + | | : + | | runtime.goexit + | | : + | Wraps: (2) payload + | Error types: (1) *errbase.opaqueWrapper (2) *errutil.leafError +Wraps: (3) new-style × + | × (payload) +Wraps: (4) × + | × + | + | (opaque error leaf) + | type name: github.com/pkg/errors/*errors.fundamental + | reportable 0: + | + | github.com/cockroachdb/errors/fmttests.glob...funcNN... + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 + | : + | github.com/cockroachdb/datadriven.runDirective.func1 + | : + | github.com/cockroachdb/datadriven.runDirective + | : + | github.com/cockroachdb/datadriven.runDirectiveOrSubTest + | : + | github.com/cockroachdb/datadriven.runTestInternal + | : + | github.com/cockroachdb/datadriven.RunTest + | : + | github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 + | : + | github.com/cockroachdb/datadriven.Walk + | : + | github.com/cockroachdb/datadriven.Walk.func1 + | : + | testing.tRunner + | : + | runtime.goexit + | : +Error types: (1) *errbase.opaqueWrapper (2) *secondary.withSecondaryError (3) *errutil.withPrefix (4) *errbase.opaqueLeaf +-- report composition: :: *errors.fundamental (top exception) -*errutil.withPrefix: new-style × (1) -*secondary.withSecondaryError: details for github.com/cockroachdb/errors/withstack/*withstack.withStack::: (2) -:: *withstack.withStack (3) +*errutil.withPrefix: new-style × +*secondary.withSecondaryError: details for github.com/cockroachdb/errors/withstack/*withstack.withStack::: +:: *withstack.withStack (1) (check the extra data payloads) -== Extra "1: details" -new-style × - × (payload) -== Extra "2: details" -details for github.com/cockroachdb/errors/withstack/*withstack.withStack::: - - github.com/cockroachdb/errors/fmttests.glob...funcNN... - : - github.com/cockroachdb/errors/fmttests.TestDatadriven.func2.1 - : - github.com/cockroachdb/datadriven.runDirective.func1 - : - github.com/cockroachdb/datadriven.runDirective - : - github.com/cockroachdb/datadriven.runDirectiveOrSubTest - : - github.com/cockroachdb/datadriven.runTestInternal - : - github.com/cockroachdb/datadriven.RunTest - : - github.com/cockroachdb/errors/fmttests.TestDatadriven.func2 - : - github.com/cockroachdb/datadriven.Walk - : - github.com/cockroachdb/datadriven.Walk.func1 - : - testing.tRunner - : - runtime.goexit - : -details for github.com/cockroachdb/errors/errutil/*errutil.leafError::: - payload == Extra "error types" github.com/pkg/errors/*errors.fundamental (*::) github.com/cockroachdb/errors/errutil/*errutil.withPrefix (*::) github.com/cockroachdb/errors/secondary/*secondary.withSecondaryError (*::) github.com/cockroachdb/errors/withstack/*withstack.withStack (*::) == Exception 1 (Module: "error domain: ") -Type: "(3) : ...funcNN... +Type: "(1) : ...funcNN... Title: "*withstack.withStack" :: (runtime) goexit() @@ -7732,7 +8990,7 @@ Title: "*withstack.withStack" (github.com/cockroachdb/errors/fmttests.glob.)...funcNN... == Exception 2 (Module: "error domain: ") Type: ": ...funcNN... -Title: "*errors.fundamental: new-style ×\n× (payload): ×\n×" +Title: "*errors.fundamental: new-style ×: ×" :: (runtime) goexit() :: @@ -7757,5 +9015,3 @@ Title: "*errors.fundamental: new-style ×\n× (payload): ×\n×" (github.com/cockroachdb/errors/fmttests.TestDatadriven.func2) 1() :: (github.com/cockroachdb/errors/fmttests.glob.)...funcNN... ----- ----- diff --git a/report/report.go b/report/report.go index 9e68805..0211722 100644 --- a/report/report.go +++ b/report/report.go @@ -15,7 +15,6 @@ package report import ( - "bytes" "fmt" "strings" @@ -23,7 +22,7 @@ import ( "github.com/cockroachdb/errors/errbase" "github.com/cockroachdb/errors/withstack" "github.com/cockroachdb/redact" - "github.com/getsentry/sentry-go" + sentry "github.com/getsentry/sentry-go" ) // BuildSentryReport builds the components of a sentry report. This @@ -76,13 +75,13 @@ import ( // Given this mapping, an error object is decomposed as follows: // // (1)/(7): : () -// (3)/(8): : +// (3)/(8): first line of verbose error printout // (4): not populated in this function, caller is to manage this -// (5): detailed structure of the entire error object, with references to "additional data" -// and additional "exception" objects +// (5): detailed structure of the entire error object, with references to +// additional "exception" objects // (9): generated from innermost stack trace // (6): every exception object after the 1st reports additional stack trace contexts -// (11): "additional data" populated from safe detail payloads +// (11): the detailed error types and their error mark. // // If there is no stack trace in the error, a synthetic Exception // object is still produced to provide visual detail in the Sentry UI. @@ -119,17 +118,22 @@ func BuildSentryReport(err error) (event *sentry.Event, extraDetails map[string] var firstDetailLine string // longMsgBuf will become the Message field, which contains the full - // structure of the error with cross-references to "Exception" and - // "Additional data" fields. + // structure of the error. var longMsgBuf strings.Builder - redactedErrStr := redact.Sprint(err).Redact() - if redactedErrStr != redactedMarker { - if f, l, _, ok := withstack.GetOneLineSource(err); ok { - fmt.Fprintf(&longMsgBuf, "%s:%d: ", f, l) + if f, l, _, ok := withstack.GetOneLineSource(err); ok { + fmt.Fprintf(&longMsgBuf, "%s:%d: ", f, l) + } + // Include the verbose error printout, with sensitive bits redacted out. + verboseErr := redact.Sprintf("%+v", err).Redact().StripMarkers() + if verboseErr != redactedMarker { + idx := strings.IndexByte(verboseErr, '\n') + if idx == -1 { + firstDetailLine = verboseErr + } else { + firstDetailLine = verboseErr[:idx] } - firstDetailLine = redactedErrStr.StripMarkers() - fmt.Fprintf(&longMsgBuf, "%v\n--\n", firstDetailLine) } + fmt.Fprint(&longMsgBuf, verboseErr) // sep is used to separate the entries in the longMsgBuf / Message // payload. @@ -159,6 +163,7 @@ func BuildSentryReport(err error) (event *sentry.Event, extraDetails map[string] // layer. We iterate in this order because we want to describe the // error from innermost to outermost layer in longMsgBuf and // typesBuf. + longMsgBuf.WriteString("\n-- report composition:\n") for i := len(details) - 1; i >= 0; i-- { // Collect the type name for this layer of error wrapping, towards // the "error types" additional data field. @@ -204,10 +209,6 @@ func BuildSentryReport(err error) (event *sentry.Event, extraDetails map[string] // Now decide what kind of payload we want to add to the Event // object. - // genExtra will remember whether we are adding an - // additional payload or not. - var genExtra bool - // Is there a stack trace? if st := stacks[i]; st != nil { var excType strings.Builder @@ -245,17 +246,21 @@ func BuildSentryReport(err error) (event *sentry.Event, extraDetails map[string] exceptions = append(exceptions, exc) } else { // No stack trace. - // Are there safe details? If so, print them. + // Are there safe details? If so, print the first safe detail + // string (we're assuming that all the important bits will + // also be included in the verbose printout, so there's no + // need to dig out more safe strings here.) + // + // TODO(knz): the SafeDetails API is not really meant for Sentry + // reporting. Once we have more experience to prove that the + // verbose printout is sufficient, we can remove the SafeDetails + // from sentry reports. // // Note: we only print the details if no stack trace was found // at that level. This is because stack trace annotations also // produce the stack trace as safe detail string. - genExtra = len(details[i].SafeDetails) > 1 if len(details[i].SafeDetails) > 0 { d := details[i].SafeDetails[0] - if d != "" { - genExtra = true - } if j := strings.IndexByte(d, '\n'); j >= 0 { d = d[:j] } @@ -269,18 +274,6 @@ func BuildSentryReport(err error) (event *sentry.Event, extraDetails map[string] } } } - - // Are we generating another extra for the safe detail strings? - if genExtra { - stKey := fmt.Sprintf("%d: details", extraNum) - var extraStr bytes.Buffer - for _, d := range details[i].SafeDetails { - fmt.Fprintln(&extraStr, strings.ReplaceAll(d, "\n", "\n ")) - } - extras[stKey] = extraStr.String() - fmt.Fprintf(&longMsgBuf, " (%d)", extraNum) - extraNum++ - } } if extraNum > 1 { @@ -354,7 +347,7 @@ func BuildSentryReport(err error) (event *sentry.Event, extraDetails map[string] return event, extras } -var redactedMarker = redact.RedactableString(redact.RedactedMarker()) +var redactedMarker = redact.RedactableString(redact.RedactedMarker()).StripMarkers() // ReportError reports the given error to Sentry. The caller is responsible for // checking whether telemetry is enabled, and calling the sentry.Flush() diff --git a/report/report_test.go b/report/report_test.go index 6895034..0ff3017 100644 --- a/report/report_test.go +++ b/report/report_test.go @@ -27,7 +27,7 @@ import ( "github.com/cockroachdb/errors/safedetails" "github.com/cockroachdb/errors/testutils" "github.com/cockroachdb/errors/withstack" - "github.com/getsentry/sentry-go" + sentry "github.com/getsentry/sentry-go" "github.com/kr/pretty" ) @@ -44,12 +44,12 @@ import ( // // myErr := errutil.Newf("Hello %s %d", "world", redact.Safe(123)) // myErr = errutil.Wrapf(myErr, "some prefix %s", "unseen") +// myErr = errutil.NewAssertionErrorWithWrappedErrf(myErr, "assert %s %s", redact.Safe("safe"), "unsafe") // // if eventID := report.ReportError(myErr); eventID == "" { // t.Fatal("eventID is empty") // } // sentry.Flush(2 * time.Second) -// // } func TestReport(t *testing.T) { @@ -94,12 +94,28 @@ func TestReport(t *testing.T) { e := events[0] tt.Run("long message payload", func(tt testutils.T) { - expectedLongMessage := `^\*errors.errorString -\*safedetails.withSafeDetails: universe 123 multi \(1\) -report_test.go:\d+: \*withstack.withStack \(top exception\) -\*domains\.withDomain: error domain: "thisdomain" \(2\) -\*report_test\.myWrapper -\(check the extra data payloads\)$` + expectedLongMessage := `^ +report_test.go:\d+: × +\(1\) +Wraps: \(2\) error domain: \"thisdomain\" +Wraps: \(3\) attached stack trace + -- stack trace: + | github.com/cockroachdb/errors/report_test.TestReport + | \t[^:]*report/report_test.go:\d+ + | testing.tRunner + | \t.*src/testing/testing.go:\d+ + | runtime.goexit + | \t[^:]*:\d+ +Wraps: \(4\) universe 123 multi + | line +Wraps: \(5\) × +Error types: \(1\) *report_test.myWrapper \(2\) *domains.withDomain \(3\) *withstack.withStack \(4\) *safedetails.withSafeDetails \(5\) *errors.errorString +-- report composition: +*errors.errorString +*safedetails.withSafeDetails: universe 123 multi +report_test.go:82: *withstack.withStack \(top exception\) +*domains.withDomain: error domain: \"thisdomain\" +*report_test.myWrapper$` tt.CheckRegexpEqual(e.Message, expectedLongMessage) }) @@ -112,15 +128,6 @@ github.com/cockroachdb/errors/report_test/*report_test.myWrapper (some/previous/ ` types := fmt.Sprintf("%s", e.Extra["error types"]) tt.CheckEqual(types, expectedTypes) - - expectedDetail := `universe 123 multi - line` - detail := fmt.Sprintf("%s", e.Extra["1: details"]) - tt.CheckEqual(strings.TrimSpace(detail), expectedDetail) - - expectedDetail = string(thisDomain) - detail = fmt.Sprintf("%s", e.Extra["2: details"]) - tt.CheckEqual(strings.TrimSpace(detail), expectedDetail) }) hasStack := false