Skip to main content

NewFailedCatalogEntry

Creates a new catalog entry with a specified status, indicating a failed state.

def NewFailedCatalogEntry(
status: Status
) - > Entry

Creates a new catalog entry representing a failed status. This function is used to encapsulate a given status within an Entry object.

Parameters

NameTypeDescription
statusStatusThe status to be associated with the new catalog entry, indicating its failure state.

Returns

TypeDescription
EntryA new Entry object initialized with the provided status.