TsLint: Fixed error logging

Using a Hack: A separate error class. (see https://github.com/palantir/tslint/issues/59)