Fix a reference to the no-longer-existing @@api_base; instead use configuration.api_base.
Require all the error classes
Merge pull request #10 from thinkthroughmath/fix_error_handling_bugs

Fix error handling bugs