in dell_ai/exceptions.py [0:0]
def __init__(self, resource_type, resource_id, original_error=None):
"""Initialize the resource not found error.
Args:
resource_type: The type of resource that was not found (e.g., "model", "platform").
resource_id: The ID of the resource that was not found.
original_error: The original exception that caused this error, if any.
"""
message = f"{resource_type.capitalize()} with ID '{resource_id}' not found"
self.resource_type = resource_type
self.resource_id = resource_id
super().__init__(message, original_error)