add error handling with a block for Resource.create
Merge branch 'master' into error_block
add tests for Resource.create failures
adding more tests for resource request failures
Merge pull request #2 from chingor13/error_block

Error block