MCPcopy Create free account
hub / github.com/chainreactors/EvilProxy / Error

Method Error

internal/thinking/errors.go:58–60  ·  view source on GitHub ↗

Error implements the error interface. Returns the message directly without code prefix. Use Code field for programmatic error handling.

()

Source from the content-addressed store, hash-verified

56// Returns the message directly without code prefix.
57// Use Code field for programmatic error handling.
58func (e *ThinkingError) Error() string {
59 return e.Message
60}
61
62// NewThinkingError creates a new ThinkingError with the given code and message.
63func NewThinkingError(code ErrorCode, message string) *ThinkingError {

Calls

no outgoing calls