This repository has been archived on 2022-09-10. You can view files and clone it, but cannot push or open issues or pull requests.
tunnel/errors.go

12 lines
224 B
Go
Raw Permalink Normal View History

2022-09-09 11:53:46 +00:00
package tunnel
import "fmt"
type WrongDataFrameTypeError struct {
ShouldBe Type
}
func (w WrongDataFrameTypeError) Error() string {
return fmt.Sprintf("wrong dataframe type, should be %s(%d)", w.ShouldBe, w.ShouldBe)
}