Initial error refactoring (make errors less HTTP specific)
Merge pull request #15 from lightsofapollo/error-refactoring

Initial error refactoring (make errors less HTTP specific)