📦 SQA::DataFetchError¶
Description
Raised when unable to fetch data from a data source (API, file, etc.). Wraps the original exception for debugging purposes.
🔨 Instance Methods¶
#original_error()¶
Returns
Type: Exception, nil
The original exception that caused this error
Source Location
#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