Only try to set errors from a hash if it is a hash!
Version bump to 1.0.1