feat: make error handling more verbose and collect more error information from API errors, support API V2 error format (#8)
feat: make error handling more verbose and collect more error information from Unifi Controller, support API V2 error format
This commit is contained in:
committed by
GitHub
parent
53bb1a13b9
commit
7f5968314d
@@ -177,7 +177,7 @@ user, err := c.CreateUser(ctx, "site-name", &unifi.User{
|
||||
## Plans
|
||||
|
||||
- [ ] Increase API coverage, or modify code generation to rely on the official UniFi Controller API specifications
|
||||
- [ ] Improve error handling (currently only basic error handling is implemented and some of the errors are swallowed)
|
||||
- [x] Improve error handling (currently only basic error handling is implemented and error details are not propagated)
|
||||
- [x] Improve client code for better usability
|
||||
- [x] Support API Key authentication
|
||||
- [ ] Generate client code for currently generated API structures, for use within or outside the Terraform provider
|
||||
|
||||
Reference in New Issue
Block a user