Documentation
¶
Overview ¶
Package domainerr provides domain-level error types and sentinel errors.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrNotAGitRepo = errors.New("not a git repository") ErrNothingToCommit = errors.New("nothing to commit") ErrNoRemoteConfigured = errors.New("no remote configured") ErrOllamaNotAvailable = errors.New("Ollama is not available") ErrModelNotReady = errors.New("model is not ready") ErrSecretsDetected = errors.New("secrets detected in files") ErrInvalidJSON = errors.New("invalid JSON response") ErrOperationCancelled = errors.New("operation cancelled by user") // Security errors ErrSecurityHalt = errors.New("SECURITY_HALT: operation cancelled for security reasons") ErrBlacklistedFile = errors.New("blacklisted file detected") ErrBinaryFile = errors.New("binary file detected") ErrSelfBinary = errors.New("git-courer own binary detected") )
Sentinel errors for common domain scenarios
Functions ¶
func IsDomainError ¶
IsDomainError checks if an error is one of our domain sentinel errors
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.