resError now returns instance of Error
0.3.0