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

Method Error

go/canvas.go:61–63  ·  view source on GitHub ↗

Error implements the error interface.

()

Source from the content-addressed store, hash-verified

59
60// Error implements the error interface.
61func (e *CanvasError) Error() string {
62 return e.Code + ": " + e.Message
63}
64
65// NewCanvasError constructs a new error envelope with the given code and message.
66func NewCanvasError(code, message string) *CanvasError {

Calls

no outgoing calls