add support for throwing error on finding missing required arguments. fixes #230