add options.throw functionality and test
1.1.0