Closed RootSoft closed 2 years ago
Description The current way to check for an error message from the node is using the following code snippet:
} on AlgorandException catch (ex) { final cause = ex.cause; if (cause is DioError) { print(cause.response?.data['message']); } }
Goal Include the error message in every AlgorandException if there's a message included in the JSON.
AlgorandException
Fixed in v1.0.2.
Description The current way to check for an error message from the node is using the following code snippet:
Goal Include the error message in every
AlgorandException
if there's a message included in the JSON.