Made response.error more generalized
Merge pull request #27 from zerious/master

Made response.error more generalized