Added response object to failure block to allow access to the failing response

- Added response object to failure block to allow access to the failing response
- Updated method signatures & documentation accordingly
- Version bump