Improved mac support

This commit is contained in:
Eduard Urbach 2024-08-12 12:16:01 +02:00
parent 58f010b81a
commit cf52919edc
No known key found for this signature in database
GPG key ID: C874F672B1AF20C0
25 changed files with 119 additions and 34 deletions

View 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)
}