@google-github-actions/actions-utils
@google-github-actions/actions-utils / errors / isNotFoundError
isNotFoundError(
err):boolean
Defined in: errors.ts:75
isNotFoundError determines if the given error is "not found". Since there's literally no way to actually do this in Node, it inspects the string output for "ENOENT".
unknown
The error result to check.
boolean
Boolean, true if the error represents NotFound, false otherwise.