[DOC] add doc that accountRequest throws

if a marker is provided, but no ledger_index or ledger_hash
This commit is contained in:
Geert Weening
2014-11-14 10:11:07 -08:00
parent 5f3cf72cc6
commit 2932a0ec5f

View File

@@ -1217,6 +1217,7 @@ Remote.prototype.requestTx = function(hash, callback) {
* @param {String} marker - start position in response paging
* @param [Function] callback
* @return {Request}
* @throws {Error} if a marker is provided, but no ledger_index or ledger_hash
*/
Remote.accountRequest = function(type, options, callback) {
var account, ledger, peer, limit, marker;