import { SavedObjectsErrorHelpers } from '../../../../../src/core/server' ; export function isTaskSavedObjectNotFoundError ( err , taskId ) { return SavedObjectsErrorHelpers . isNotFoundError ( err ) && `${ err }` . includes ( taskId ) ; }