Skip to main content

Module error

Module error 

Source
Expand description

Error types for DNF .repo file parsing, validation, and variable expansion.

This module defines the top-level Error enum (via thiserror) that aggregates all domain-specific error types in the library:

  • ParseError — INI parsing failures (malformed sections, missing =, etc.)
  • ParseBoolError — invalid boolean values like "maybe"
  • ExpandError — variable substitution failures (unknown name, depth, syntax)

The Result type alias is a convenience for Result<T, Error>.

Structs§

ParseBoolError
Error when parsing a boolean value from a .repo file option fails.

Enums§

Error
Top-level error type for the library.
ExpandError
Error when expanding DNF variables fails.
ParseError
Error when parsing a .repo file fails.

Type Aliases§

Result
Result type alias for convenience.