helper functions added

This commit is contained in:
Tai Groot
2021-05-15 15:58:57 -07:00
parent df9ea847d7
commit ba0ac781ef
3 changed files with 67 additions and 3 deletions

View File

@@ -19,4 +19,6 @@ var (
ErrDoesNotExist = errors.New("Unit does not exist")
// ErrUnspecified means something in the stderr output contains the word `Failed`, but not a known case
ErrUnspecified = errors.New("Unknown error")
// ErrUnitNotRunning means a function which requires a unit to be run (such as GetStartTime) was run against an inactive unit
ErrUnitNotRunning = errors.New("Unit isn't running")
)