changing some variable names and adding some comments
exporting (err Error) Equals(compareErr error)