Solving issue #218: Error Type

Simple change: adding the error type #218