processingResult
Home > @backstage/plugin-catalog-node
> processingResult
Factory functions for the standard processing result types.
Signature:
processingResult: Readonly<{
readonly notFoundError: (atLocation: LocationSpec, message: string) => CatalogProcessorResult;
readonly inputError: (atLocation: LocationSpec, message: string) => CatalogProcessorResult;
readonly generalError: (atLocation: LocationSpec, message: string) => CatalogProcessorResult;
readonly location: (newLocation: LocationSpec) => CatalogProcessorResult;
readonly entity: (atLocation: LocationSpec, newEntity: Entity) => CatalogProcessorResult;
readonly relation: (spec: EntityRelationSpec) => CatalogProcessorResult;
readonly refresh: (key: string) => CatalogProcessorResult;
}>