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 the reason for failure.

Returns​

TypeDescription
EntryA new Entry object initialized with the provided status.