When I try to fetch non-existent key from keyvault I get:
msrest.exceptions : (KeyNotFound) A key with (name/id) keyname was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182 cli.azure.cli.core.azclierror : ResourceNotFoundError: (KeyNotFound) A key with (name/id) keyname was not found in this key vault. If you recently deleted this key you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182
I expect this error, but only this error, so I don't want to create try-catch
catching everything. However I cannot find full identifier of ResourceNotFound
in the docs, by this I mean with a the namespace. Where I can find to to be able to catch this exception:
try {} catch [ResourceNotFoundError]{}