Documentation
¶
Overview ¶
Package recall provides error constructors for session recall and reindexing.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EventLogRead ¶
EventLogRead wraps a failure to read the event log.
Parameters:
- cause: the underlying error from the query operation.
Returns:
- error: "reading event log: <cause>"
func OpenLogFile ¶
OpenLogFile wraps a failure to open a log file.
Parameters:
- cause: the underlying OS error.
Returns:
- error: "failed to open log file: <cause>"
func ReindexFileNotFound ¶
ReindexFileNotFound returns an error when the file to reindex does not exist.
Parameters:
- fileName: Display name (e.g., "DECISIONS.md")
Returns:
- error: "<fileName> not found. Run 'ctx init' first"
func ReindexFileRead ¶
ReindexFileRead wraps a read failure during reindexing.
Parameters:
- filePath: Path that could not be read
- cause: The underlying read error
Returns:
- error: "failed to read <filePath>: <cause>"
func ReindexFileWrite ¶
ReindexFileWrite wraps a write failure during reindexing.
Parameters:
- filePath: Path that could not be written
- cause: The underlying write error
Returns:
- error: "failed to write <filePath>: <cause>"
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.