12 lines
224 B
Go
12 lines
224 B
Go
|
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)
|
||
|
}
|