MCPcopy Index your code
hub / github.com/github/copilot-sdk / TestCanvasError_ErrorString

Function TestCanvasError_ErrorString

go/canvas_test.go:92–97  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

90}
91
92func TestCanvasError_ErrorString(t *testing.T) {
93 e := NewCanvasError("foo_code", "bar message")
94 if got := e.Error(); got != "foo_code: bar message" {
95 t.Fatalf("unexpected Error() output: %q", got)
96 }
97}
98
99type recordingCanvasHandler struct {
100 CanvasHandlerDefaults

Callers

nothing calls this directly

Calls 2

ErrorMethod · 0.95
NewCanvasErrorFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…