Factory class for creating common Nagare errors with consistent formatting
Provides pre-configured error constructors for common failure scenarios. Each method returns a fully-configured NagareError with appropriate error code, message, and recovery suggestions.
configNotFound(searchedPaths: string[]): NagareError
Create a configuration not found error
fileHandlerNotFound(filePath: string): NagareError
Create a file handler not found error
Create a git not initialized error
Create a GitHub CLI not found error
invalidJson(filePath: string,parseError: string,): NagareError
Create an invalid JSON error
Create an uncommitted changes error
versionNotFound(filePath: string,searchedPatterns?: string[],): NagareError
Create a version not found error
NagareError for the error class structure
ErrorCodes for all available error codes