Documentation ¶
Overview ¶
Package azureerrors contains helpers for detecting various known error types from Azure API responses and wrapping them.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AsAugmented ¶
AsAugmented checks whether an error returned by the Azure SDK matched some known Azure errors. If the error matches, it produces a new, augmented error by adding information we think will help the user use the plugin correctly. If it didn't match, it returns the error as is.
- err: An error returned by the Azure SDK.
- permissionsNeeded: The permissions the Azure client needed to have in order for the operation it just performed to be successful. Used to form a good error message for the user, whichever operation was being attempted.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.