Skip to content

ErrorType

ErrorType = "aborted" | "max_iterations" | "context_overflow" | "provider_error" | "empty_response" | "network_error" | "internal_error" | "clone_failed" | "fetch_failed" | "invalid_commitish" | "invalid_config"

Defined in: src/types.ts:18

Programmatic error codes for all error paths in the library. Consumers can switch on this instead of string-matching messages.