MCPcopy Create free account
hub / github.com/Ishabdullah/Codey-v2 / record_error

Method record_error

core/learning.py:78–91  ·  view source on GitHub ↗

Record an error occurrence. Args: error_type: Type of error error_message: Error message context: Additional context Returns: Error pattern key

(self, error_type: str, error_message: str,
                     context: Dict = None)

Source from the content-addressed store, hash-verified

76 return self.preferences.learn_from_files(files)
77
78 def record_error(self, error_type: str, error_message: str,
79 context: Dict = None) -> str:
80 """
81 Record an error occurrence.
82
83 Args:
84 error_type: Type of error
85 error_message: Error message
86 context: Additional context
87
88 Returns:
89 Error pattern key
90 """
91 return self.error_db.record_error(error_type, error_message, context)
92
93 def learn_from_message(self, message: str) -> dict:
94 """

Callers 2

execute_toolFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected