errors

package
v1.7.8 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrMissingUsername            = errors.New("TELEE_USERNAME must be set")
	ErrMissingPassword            = errors.New("TELEE_PASSWORD must be set")
	ErrMissingPrivPassword        = errors.New("TELEE_PRIVPASSWORD must be set")
	ErrMissingHostname            = errors.New("hostname must be set")
	ErrMissingCommand             = errors.New("command must be set")
	ErrInvalidPlatform            = errors.New("exec-platform is not supported")
	ErrUnsupportedRedundantMode   = errors.New("redundant-mode is not supported in this platform")
	ErrUnsupportedModeSet         = errors.New("enable-mode and default-priv-mode cannot use at once")
	ErrUnsupportedSecureMode      = errors.New("secure-mode is not supported in this platform")
	ErrUnsupportedDefaultPrivMode = errors.New("default-privilege-mode is not supported in this platform")
	ErrUnsupportedUnsecureMode    = errors.New("non secure-mode is not supported in this platform")
)

Used for config validation

View Source
var (
	ErrTermLengthIsEnforced = errors.New("EnableMode must be set. Terminal length expansion in user-level is not supporting.") // nolint
)

Used for useca

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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