RippleAPI: Add data property to error object

This commit is contained in:
Alan Cohen
2015-09-17 15:06:12 -07:00
parent 778f59b4fd
commit 0c9aea454e
2 changed files with 9 additions and 3 deletions

View File

@@ -160,6 +160,7 @@ describe('RippleAPI', function() {
assert(false, 'Should throw RippleError');
}).catch(error => {
assert(error instanceof this.api.errors.RippleError);
assert(error.data);
});
});