Class ProviderConfigException

java.lang.Object
java.lang.Throwable
java.lang.Exception
com.inductiveautomation.ignition.common.ai.ProviderConfigException
All Implemented Interfaces:
Serializable

public class ProviderConfigException extends Exception
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 Details

    • ProviderConfigException

      public ProviderConfigException(String message)
    • ProviderConfigException

      public ProviderConfigException(String message, Throwable cause)