Some checks failed
Go / build-and-release (push) Has been cancelled
Replaced inline interface literals with dedicated, documented interface definitions in `pkg/interfaces/`. Introduced `TimeoutError`, `PolicyChecker`, and `Neo4jResultIterator` interfaces to clarify design, improve maintainability, and resolve potential circular dependencies. Updated config and constant usage rules for consistency. Incremented version to v0.31.11.
9 lines
258 B
Go
9 lines
258 B
Go
// Package neterr defines interfaces for network error handling.
|
|
package neterr
|
|
|
|
// TimeoutError is an interface for errors that can indicate a timeout.
|
|
// This is compatible with net.Error's Timeout() method.
|
|
type TimeoutError interface {
|
|
Timeout() bool
|
|
}
|