MCPcopy Create free account
hub / github.com/cosdata/cosdata / AuthError

Enum AuthError

src/api/auth/error.rs:8–12  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6
7#[derive(Debug)]
8pub enum AuthError {
9 WrongCredentials,
10 InvalidToken,
11 FailedToExtractTokenFromRequest,
12}
13
14impl Display for AuthError {
15 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected