mirror of
https://github.com/xaionaro-go/streamctl.git
synced 2025-09-29 12:52:10 +08:00
14 lines
294 B
Go
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" }
|