Exception: Ace::Git::Error
- Inherits:
-
StandardError
- Object
- StandardError
- Ace::Git::Error
- Defined in:
- lib/ace/git.rb
Overview
Error handling pattern:
-
Atoms: Pure functions, raise exceptions for invalid inputs
-
Molecules: May return error hashes for “expected” errors (e.g., not in git repo) or raise exceptions for unexpected failures
-
Organisms: Orchestrate molecules, propagate or wrap exceptions
-
Commands: Catch exceptions and return exit codes (0=success, 1=error)
All custom exceptions inherit from Ace::Git::Error for consistent catching.
Direct Known Subclasses
ConfigError, GhAuthenticationError, GhNotInstalledError, GitError, PrNotFoundError, TimeoutError