Debian Codegraph @

vnet/errors.go

raw symbols SCIP
1 package vnet
2
3 type timeoutError struct {
4 msg string
5 }
6
7 func newTimeoutError(msg string) error {
8 return &timeoutError{
9 msg: msg,
10 }
11 }
12
13 func (e *timeoutError) Error() string {
14 return e.msg
15 }
16
17 func (e *timeoutError) Timeout() bool {
18 return true
19 }