Class ProviderConfigException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.inductiveautomation.ignition.common.ai.ProviderConfigException
- All Implemented Interfaces:
Serializable
Thrown when a model provider's configuration cannot produce usable credentials — a missing or
blank API-key environment variable, or a
SecretConfig that resolves to nothing. Surfaced
at provider load so the failure reads as a configuration error rather than an opaque 401
at request time.
Checked so callers of the ModelProvider SPI must handle the misconfiguration path; the
internal resolver seam uses FragileSupplier to route the throw through a
typed contract.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionProviderConfigException(String message) ProviderConfigException(String message, Throwable cause) -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ProviderConfigException
-
ProviderConfigException
-