error

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2022 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CliError

type CliError interface {
	Status() int
	Message() string
}

type CommandNotFoundError

type CommandNotFoundError struct {
	// contains filtered or unexported fields
}

func NewCommandNotFoundError

func NewCommandNotFoundError() *CommandNotFoundError

func (*CommandNotFoundError) Message

func (e *CommandNotFoundError) Message() string

func (*CommandNotFoundError) Status

func (e *CommandNotFoundError) Status() int

type CommandNotSpecifiedError

type CommandNotSpecifiedError struct {
	// contains filtered or unexported fields
}

func NewCommandNotSpecifiedError

func NewCommandNotSpecifiedError() *CommandNotSpecifiedError

func (*CommandNotSpecifiedError) Message

func (e *CommandNotSpecifiedError) Message() string

func (*CommandNotSpecifiedError) Status

func (e *CommandNotSpecifiedError) Status() int

type RuntimeError

type RuntimeError struct {
	// contains filtered or unexported fields
}

func NewRuntimeError

func NewRuntimeError(message string) *RuntimeError

func (*RuntimeError) Message

func (e *RuntimeError) Message() string

func (*RuntimeError) Status

func (e *RuntimeError) Status() int

Jump to

Keyboard shortcuts

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