package
0.1.0-alpha.9
Repository: https://github.com/nexlayer/nexlayer-cli.git
Documentation: pkg.go.dev
# Functions
InternalError creates a new internal error.
NetworkError creates a new network error.
NewDeploymentError creates a new deployment error.
NewError creates a new error with context.
NewValidationError creates a new validation error with structured context.
SystemError creates a new system error.
UserError creates a new user error.
# Constants
ErrorTypeInternal represents internal application errors.
ErrorTypeNetwork represents network-related errors.
ErrorTypeSystem represents system-level errors (IO, permissions, etc.).
ErrorTypeUser represents user-caused errors (invalid input, etc.).
# Structs
DeploymentError represents an error that occurred during deployment.
Error represents a structured error with context.
ValidationContext contains structured information about a validation error.
# Type aliases
ErrorType represents the category of error.