Skip to content

📦 SQA::DataFetchError

Description

Raised when unable to fetch data from a data source (API, file, etc.). Wraps the original exception for debugging purposes.

Source Information

Defined in: lib/sqa/errors.rb:26

Inherits from: StandardError

🔨 Instance Methods

#original_error()

Returns

Type: Exception, nil

The original exception that caused this error

Source Location

lib/sqa/errors.rb:28


#initialize(message, original: = nil)

Creates a new DataFetchError.

Parameters

Name Type Description
message String Error message describing the fetch failure
original Exception, nil The original exception that was caught

Returns

Type: DataFetchError

a new instance of DataFetchError

Source Location

lib/sqa/errors.rb:34


📝 Attributes

👁️ original_error read-only