driftctl/pkg/cmd/errors/errors.go

14 lines
180 B
Go
Raw Normal View History

package errors
type UsageError struct {
msg string
}
func NewUsageError(msg string) UsageError {
return UsageError{msg}
}
func (u UsageError) Error() string {
return u.msg
}