class
AI::Provider::LoadSettingError
- AI::Provider::LoadSettingError
- AI::Provider::AISDKError
- Exception
- Reference
- Object
Overview
Error thrown when a setting cannot be loaded.
This error is typically raised when the SDK cannot find or read a required configuration setting.
Defined in:
ai/provider/errors/load_setting_error.crConstructors
-
.new(*, message : String)
Creates a new LoadSettingError.
Class Method Summary
-
.instance?(error) : Bool
Checks if the given value is an instance of LoadSettingError.
Instance methods inherited from class AI::Provider::AISDKError
name : String
name,
to_s(io : IO) : Nil
to_s
Constructor methods inherited from class AI::Provider::AISDKError
new(*, name : String, message : String, cause : Exception | Nil = nil)
new
Class methods inherited from class AI::Provider::AISDKError
instance?(error) : Bool
instance?
Constructor Detail
def self.new(*, message : String)
#
Creates a new LoadSettingError.
Parameters:
- message: The error message describing what went wrong