Skip to content

Commit

Permalink
update status codes
Browse files Browse the repository at this point in the history
  • Loading branch information
rusq committed Mar 28, 2024
1 parent b1e9351 commit 68e084e
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 15 deletions.
19 changes: 10 additions & 9 deletions cmd/slackdump/internal/golang/base/status.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,14 @@ type StatusCode uint8

// Status codes returned by the main executable.
const (
SNoError StatusCode = iota // No Error
SGenericError // Generic Error
SHelpRequested // Help Requested
SInvalidParameters // Invalid Parameters
SAuthError // Authentication Error
SApplicationError // Application Error
SWorkspaceError // Workspace Error
SCacheError // Cache Error
SUserError // User Error
SNoError StatusCode = iota // No Error
SGenericError // Generic Error
SHelpRequested // Help Requested
SInvalidParameters // Invalid Parameters
SAuthError // Authentication Error
SInitializationError // Initialization Error
SApplicationError // Application Error
SWorkspaceError // Workspace Error
SCacheError // Cache Error
SUserError // User Error
)
13 changes: 7 additions & 6 deletions cmd/slackdump/internal/golang/base/statuscode_string.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 68e084e

Please sign in to comment.