Hi,
is there any way to get an error code from error variable (result of useAsync hook)? It seems that the only way to do it is to parse message string. I think it should be the "code" property in Error type (along with "name" and "message" whish exist already)
Thanks