exceptions

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EmptyArgumentError

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

func NewEmptyArgumentError

func NewEmptyArgumentError() *EmptyArgumentError

func (*EmptyArgumentError) Error

func (err *EmptyArgumentError) Error() string

type InvalidOperationError

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

Invalid operation error

func NewInvalidOperationError

func NewInvalidOperationError(operation string, _type OperationType) *InvalidOperationError

func (*InvalidOperationError) Error

func (err *InvalidOperationError) Error() string

func (*InvalidOperationError) Operation

func (err *InvalidOperationError) Operation() string

func (*InvalidOperationError) Type

type NoOperationError

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

No operation error

func NewNoOperationError

func NewNoOperationError() *NoOperationError

func (*NoOperationError) Error

func (err *NoOperationError) Error() string

type OperationType

type OperationType int
const (
	OPERATION OperationType = iota + 1
	COMMAND
)

Jump to

Keyboard shortcuts

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