MCPcopy Create free account
hub / github.com/canopy-network/canopy / Code

Method Code

lib/error.go:34–34  ·  view source on GitHub ↗

Code() returns the associated error code

()

Source from the content-addressed store, hash-verified

32
33// Code() returns the associated error code
34func (p *Error) Code() ErrorCode { return p.ECode }
35
36// Module() returns module field
37func (p *Error) Module() ErrorModule { return p.EModule }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected