wharfkit / contract

Access table data, create actions, and retrieve types for Antelope-based Smart Contracts
https://wharfkit.com
Other
1 stars 1 forks source link

search with Table.get() more relevant exception return #65

Closed david-at-greymass closed 6 months ago

david-at-greymass commented 6 months ago

If you're running a search with Table.get() by a key and it finds nothing then it throws an excheption like 'Nothing to decode' It would be nice if it returned an empty array or at least a more relevent exception.

sandroguras commented 6 months ago

https://github.com/wharfkit/contract/pull/66