version 1.2.1: fixed a bug that prevented throwing of a correct Error