Add 200s or throw helper function
move function into exports
Merge pull request #5 from yola/200s_or_throw_helper

Add 200s or throw helper function