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

Method __str__

plugin/python/contract/error.py:17–18  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

15 self.msg = msg
16
17 def __str__(self) -> str:
18 return f"\nModule: {self.module}\nCode: {self.code}\nMessage: {self.msg}"
19
20
21# Error factory functions (matching Go error.go)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected