fix:(api/fraud): fraud.Get
returns potentially confusing error message
#3407
Labels
fraud.Get
returns potentially confusing error message
#3407
From a user:
This makes sense to us, because we know there is no fraud available in the store so ofc it says key not found. But this is not very intuitive.
I suggest either:
I am more for option one because in my mind, it is not semantically an error. For the same reasoning that I used with
blob.GetAll
. But I won't block if others prefer version two.This also signifies we should write an example for how to interact with fraud proofs over the API. I have opened an issue to add an example, showing that Subscribe makes the most sense here unless you want to poll with Get.
The text was updated successfully, but these errors were encountered: