Files
streamctl/pkg/streamd/error.go
2024-07-07 20:02:50 +01:00

14 lines
294 B
Go

package streamd
type ErrNoVariable struct{}
var _ error = ErrNoVariable{}
func (ErrNoVariable) Error() string { return "no such variable" }
type ErrVariableWrongType struct{}
var _ error = ErrVariableWrongType{}
func (ErrVariableWrongType) Error() string { return "wrong variable type" }