errors

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 4, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// URL Errors
	InvalidProtocol = errors.New("URL must use ws:// or wss:// scheme")

	// Configuration Errors
	InvalidReadTimeout       = errors.New("read timeout must be positive")
	InvalidWriteTimeout      = errors.New("write timeout must be positive")
	InvalidRetryMaxRetries   = errors.New("max retry count cannot be negative")
	InvalidRetryInitialDelay = errors.New("initial delay must be positive")
	InvalidRetryMaxDelay     = errors.New("max delay must be positive")
	InvalidRetryJitterFactor = errors.New("jitter factor must be between 0.0 and 1.0")
)

Functions

func NewConfigError

func NewConfigError(text string) error

func NewConnectionError

func NewConnectionError(text string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL