Raise proper TypeError
Raise proper TypeError

Python 3 supports raising only exception objects derived from
BaseException, so raising plain string is a TypeError on its own.

Partially fixes #35

Thom1729/YAML-Macros