Renamed package, set up for worker session pattern.

This commit is contained in:
Jay
2026-04-18 12:44:49 -04:00
parent 870f1afa33
commit e4cb633862
7 changed files with 117 additions and 58 deletions
+17
View File
@@ -0,0 +1,17 @@
package initiatorpool
import "errors"
import "fmt"
var (
InvalidIdleTimeout = errors.New("idle timeout cannot be negative")
InvalidMaxQueueSize = errors.New("maximum queue size cannot be negative")
)
func NewConfigError(text string) error {
return fmt.Errorf("configuration error: %s", text)
}
func NewPoolError(text string) error {
return fmt.Errorf("pool error: %s", text)
}