core

package
v0.0.0-...-fc9a958 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DBError

type DBError struct {
	ActionRequested string
	Err             error
}

func NewDBError

func NewDBError(actionRequested string, err error) *DBError

func (DBError) Error

func (dbError DBError) Error() string

type ExecError

type ExecError struct {
	Command string
	Err     error
}

func NewExecError

func NewExecError(command string, err error) *ExecError

func (ExecError) Error

func (execErr ExecError) Error() string

type IOError

type IOError struct {
	Path string
	Err  error
}

func NewIOError

func NewIOError(path string, err error) *IOError

func (IOError) Error

func (ioErr IOError) Error() string

type TypeError

type TypeError struct {
	From reflect.Type
	To   reflect.Type
}

func NewTypeError

func NewTypeError(from interface{}, to interface{}) *TypeError

func (TypeError) Error

func (typeErr TypeError) Error() string

Jump to

Keyboard shortcuts

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