Making options on Error a non-enumerable property