Fixed bug in the ExpectedCodeError exception.