I handle failed Vault REST API response using string match(error message)
Does Vault have error code?
Could Vault return error code in HTTP response body?
I need to handle failed Vault REST API response.
Vault just return HTTP Response status code.
This is a problem for me. For example Vault return just 400. case of 400 is various.
HTTP reponse code is too abstract for handling error in my project.