Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion crates/libfmp/src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,9 @@ pub enum ConfigurationErrorKind {
InvalidQueryName,
/// A credential is empty.
EmptyCredential,
/// Direct FMP access was configured without an API credential.
/// No API credential was available: direct FMP access was configured
/// without one, or [`crate::ClientBuilder::from_env`] found
/// `FMP_API_KEY` unset or blank (for any base URL, proxies included).
MissingCredential,
/// Authentication was configured over plaintext HTTP to a non-loopback host.
InsecureAuthentication,
Expand Down
4 changes: 3 additions & 1 deletion sdk/go/errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,9 @@ const (
ConfigurationKindInvalidQueryName
// ConfigurationKindEmptyCredential: a credential is empty.
ConfigurationKindEmptyCredential
// ConfigurationKindMissingCredential: direct FMP access has no credential.
// ConfigurationKindMissingCredential: no credential was available, either
// for direct FMP access or because NewClientFromEnv found FMP_API_KEY
// unset or blank (for any base URL, proxies included).
ConfigurationKindMissingCredential
// ConfigurationKindInsecureAuthentication: a credential over plain HTTP to a non-loopback host.
ConfigurationKindInsecureAuthentication
Expand Down
Loading