Module error

Module error 

Source
Expand description

Error types for the GitLab client library.

This module provides a comprehensive error type GitLabError that covers all possible error scenarios when interacting with the GitLab API.

§Examples

use lmrc_gitlab::{GitLabClient, GitLabError};

async fn example() -> Result<(), GitLabError> {
    let client = GitLabClient::new("https://gitlab.com", "invalid-token")?;
    // This will return GitLabError::Authentication if token is invalid
    Ok(())
}

Enums§

GitLabError
The main error type for all GitLab client operations.

Type Aliases§

Result
Result type alias using GitLabError as the error type.