-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add error code unauthorized (#313)
* feat: add error code unauthorized This makes it possible to check for an invalid token using `hcloud.IsError(err, hcloud.ErrorCodeUnauthorized)`. * docs: cleanup error codes comments The "header" comment previously showed up for the first error code of that category. By adding an empty line inbetween the two are no longer connected. By using "Deprecated: " tooling will automatically show a deprecation warning for the `ErrorCodeLimitReached` constant.
- Loading branch information
Showing
1 changed file
with
14 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters