TsLint: Fixed error logging.
Using a Hack: A separate error class.
Merge pull request #453 from am11/master

TsLint: Fixed error logging