Eliminate Scalar::Util usage from private-Error.pm