Lost Errand Meaning

(idiomatic) a mission likely to fail

Example: 1891, Charles Dickens, A Bride of a Summer's Day,
  The detective expressed his conviction that they were both on a lost errand. He was convinced that the boy would not make his appearance; although when pressed by Clive to do so, he declined to give the reasons for his conviction.