support Error objects
0.3.0