diff options
author | Sebastian <sebasjm@gmail.com> | 2021-12-06 13:37:01 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2021-12-06 13:37:01 -0300 |
commit | ce3ffbcd81b67c4a8e869b3392e6fdce44888300 (patch) | |
tree | 9e4ffd00d7e6abbac32cd28ff2c9863618bcdab8 /packages/taler-wallet-webextension/src/wallet | |
parent | 505eb07d8e42d6787dc23b2024b76e05f807e1ad (diff) | |
download | wallet-core-ce3ffbcd81b67c4a8e869b3392e6fdce44888300.tar.xz |
show error hint if its found
Diffstat (limited to 'packages/taler-wallet-webextension/src/wallet')
-rw-r--r-- | packages/taler-wallet-webextension/src/wallet/Transaction.stories.tsx | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/packages/taler-wallet-webextension/src/wallet/Transaction.stories.tsx b/packages/taler-wallet-webextension/src/wallet/Transaction.stories.tsx index 6f57df315..4e8433921 100644 --- a/packages/taler-wallet-webextension/src/wallet/Transaction.stories.tsx +++ b/packages/taler-wallet-webextension/src/wallet/Transaction.stories.tsx @@ -123,10 +123,17 @@ const exampleData = { }; const transactionError = { - code: 2000, - details: "details", - hint: "this is a hint for the error", - message: "this is the error message with get from the app", + code: 7005, + details: { + requestUrl: "http://merchant-backend.taler:9966/orders/2021.340-02AD5XCC97MQM/pay", + httpStatusCode: 410, + errorResponse: { + code: 2161, + hint: "The payment is too late, the offer has expired." + } + }, + hint: "Error: WALLET_UNEXPECTED_REQUEST_ERROR", + message: "Unexpected error code in response", }; export const Withdraw = createExample(TestedComponent, { |