Skip to main content

Module error

Module error 

Source
Expand description

The refusals providers and hosts agree on, as [ProviderError]s.

The status is what the host acts on; the message is for a person and never contains a credential.

Constants§

AMBIGUOUS
The message of ambiguous.
BUSY
The message of busy.

Functions§

ambiguous
What a directory answers when one lookup finds more than one account (a filter that matches two): a matcher refuses the sign-in rather than choose. A bad_value carrying AMBIGUOUS, so no kind has to change for it.
bad_value
The request or the configuration is malformed.
busy
What a provider answers when it will not take another pending ceremony from a source: a bad_value carrying BUSY, so no kind has to change for it. The caller may try again later.
internal
Anything else that went wrong inside the provider: storage or a directory was unreachable. A host treats it as “could not find out”, never as “denied”.
is_ambiguous
Whether error is ambiguous.
is_busy
Whether error is busy.
not_found
The thing asked for does not exist: an account that is not kept.
unsupported
The provider does not do this at all. The host does not retry.