Files
mctl/constants/error.go
jake b41b5e2be8
All checks were successful
code scans / scans (push) Successful in 26s
code scans / scans (pull_request) Successful in 24s
moving run command
- run command is no longer attached to the 'command' subcmd
- run is standalone
2025-11-26 13:04:14 -05:00

9 lines
362 B
Go

package constants
const (
//sqlite doesn't have an error type for this error, but we want to catch when this error is thrown
//and provide the proper response. It should not be treated as an error if the db isn't setup.
ErrInit = "sqlite3: SQL logic error: no such table: commands"
ErrInitRsp = "The 'init' command must be run before mctl can be used"
)