Проверяет, является ли error экземпляром PathNotFoundException.
error
PathNotFoundException
static bool isPathNotFoundException(Object? error) => impl.isPathNotFoundException(error);