in dell_ai/exceptions.py [0:0]
def __init__(self, message, status_code=None, response=None, original_error=None):
"""Initialize the API error.
Args:
message: A descriptive error message.
status_code: The HTTP status code returned by the API, if applicable.
response: The raw API response, if available.
original_error: The original exception that caused this error, if any.
"""
self.status_code = status_code
self.response = response
super().__init__(message, original_error)