mirror of
https://github.com/status-im/status-go.git
synced 2025-01-09 22:26:30 +00:00
20 lines
250 B
Go
20 lines
250 B
Go
package vnet
|
|
|
|
type timeoutError struct {
|
|
msg string
|
|
}
|
|
|
|
func newTimeoutError(msg string) error {
|
|
return &timeoutError{
|
|
msg: msg,
|
|
}
|
|
}
|
|
|
|
func (e *timeoutError) Error() string {
|
|
return e.msg
|
|
}
|
|
|
|
func (e *timeoutError) Timeout() bool {
|
|
return true
|
|
}
|