Rename UnitsException to UnitsError.
Merge pull request #1406 from mdboom/unit/rename-exception

Rename UnitsException to UnitsError