Improved mac support
This commit is contained in:
parent
af259b364c
commit
f70a2e848d
25 changed files with 119 additions and 34 deletions
13
src/errors/ExpectedCLIParameter.go
Normal file
13
src/errors/ExpectedCLIParameter.go
Normal file
|
@ -0,0 +1,13 @@
|
|||
package errors
|
||||
|
||||
import "fmt"
|
||||
|
||||
// ExpectedCLIParameter error is created when a command line parameter is missing.
|
||||
type ExpectedCLIParameter struct {
|
||||
Parameter string
|
||||
}
|
||||
|
||||
// Error generates the string representation.
|
||||
func (err *ExpectedCLIParameter) Error() string {
|
||||
return fmt.Sprintf("Expected parameter '%s'", err.Parameter)
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue