cliutil

package
v1.1.0-rc.2 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2026 License: EPL-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConflictError

type ConflictError struct {
	Message string
}

ConflictError indicates a conflicting state.

func NewConflictError

func NewConflictError(message string) *ConflictError

func (*ConflictError) Error

func (e *ConflictError) Error() string

type InputError

type InputError struct {
	Message string
}

InputError indicates invalid user input.

func NewInputError

func NewInputError(message string) *InputError

func (*InputError) Error

func (e *InputError) Error() string

type InternalError

type InternalError struct {
	Message string
	Err     error
}

InternalError indicates an unexpected failure.

func NewInternalError

func NewInternalError(message string, err error) *InternalError

func (*InternalError) Error

func (e *InternalError) Error() string

func (*InternalError) Unwrap

func (e *InternalError) Unwrap() error

type NotFoundError

type NotFoundError struct {
	Message string
}

NotFoundError indicates a missing resource.

func NewNotFoundError

func NewNotFoundError(message string) *NotFoundError

func (*NotFoundError) Error

func (e *NotFoundError) Error() string

Jump to

Keyboard shortcuts

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