Copy the error message returned by cancel

If my experience with getvalue is any indicator,  this is likely
faster (at least in the single-threaded case).   And as a nice
bonus, the object code is a bit smaller