set type to be enumerable on errors
2.0.3