mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-11-20 12:15:51 +00:00
Add resultCode and resultMessage to submit failure RippledError
This commit is contained in:
@@ -205,6 +205,7 @@ describe('RippleAPI', function() {
|
||||
assert(false, 'Should throw RippledError');
|
||||
}).catch(error => {
|
||||
assert(error instanceof this.api.errors.RippledError);
|
||||
assert.strictEqual(error.data.resultCode, 'temBAD_FEE');
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user