mirror of
https://github.com/Telmate/proxmox-api-go.git
synced 2026-04-25 23:45:55 +03:00
[GH-ISSUE #443] Unreturned errors #114
Labels
No labels
good first issue
issue/confirmed
issue/critical
proposal/accepted
pull-request
type/bug
type/enhancement
type/feature
type/question
type/refactoring
type/testing
type/testing
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/proxmox-api-go#114
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @jaitaiwan on GitHub (Jul 25, 2025).
Original GitHub issue: https://github.com/Telmate/proxmox-api-go/issues/443
Hi Folks,
Looking through some of the files I see places like https://github.com/Telmate/proxmox-api-go/blob/master/proxmox/client.go#L291 where errors are not logged and also not returned.
Is there a reason for that? If so would it be wise to document within the functions why we don't return?
@Tinyblargon commented on GitHub (Jul 25, 2025):
@jaitaiwan They are implicitly returned. When there are no variables in a
returncall, the output variables will be used.@jaitaiwan commented on GitHub (Jul 25, 2025):
Oh I'm so sorry I completely missed the named return types.