src/error.rs

uv · crates/uv-keyring/src/error.rs · rust · Apache-2.0
auth

Defines a comprehensive error enum for uv keyring operations with detailed variants.

// Source: https://github.com/astral-sh/uv | License: Apache-2.0 | Copyright 2025 Astral Software Inc
// Provided via justclaw.it.com; keep this notice with the code.
/*!

Platform-independent error model.

There is an escape hatch here for surfacing platform-specific
error information returned by the platform-specific storage provider,
but the concrete objects returned must be `Send` so they can be
moved from one thread to another. (Since most platform errors
are integer error codes, this requirement
is not much of a burden on the platform-specific store providers.)
 */

use crate::Credential;

#[derive(Debug, thiserror::Error)]
/// Each variant of the `Error` enum provides a summary of the error.
/// More details, if relevant, are contained in the associated value,
/// which may be platf

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key