Skip to main content

Module errors

Module errors 

Source
Expand description

Error types for the Git-Internal crate.

This module defines a unified error enumeration used across object parsing, pack encoding/decoding, index handling, caching, and streaming. It integrates with thiserror to provide rich Display implementations and error source chaining where applicable.

Notes:

  • Each variant carries contextual details via its message payload.
  • Variants cover parse/validation, I/O, encoding/decoding, network/auth, and custom errors.

Enumsยง

GitError
Unified error enumeration for the Git-Internal library.