Skip to main content

NewPutFailureStatus

Creates a new Status object indicating a cache put failure for a given key.

def NewPutFailureStatus(
key: *Key
) - > Status

Creates a new Status object indicating a put failure in the catalog cache. This function is used to standardize the representation of a failed put operation for a given dataset.

Parameters

NameTypeDescription
key*KeyThe Key object containing the identifier of the dataset for which the put operation failed.

Returns

TypeDescription
StatusA Status object configured with a CACHE_PUT_FAILURE status and the provided dataset identifier.