Fixed issue with wrong number of params being sent to Error object initi...

...alizer.