errors

package
v0.0.0-...-b6f29c3 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2020 License: ISC Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewArgsError

func NewArgsError(s string) error

NewArgsError Returns a new ArgumentError with the specified message appended to the error tag.

func NewDatabaseError

func NewDatabaseError(s string) error

NewDatabaseError Returns a new database-related error.

func NewRscError

func NewRscError(tag string, msg string) error

NewRscError Returns tag surrounded by brackets and prepended to msg as a new RscError.

Types

type ArgumentsError

type ArgumentsError struct {
	RscError
}

ArgumentsError An RSCGo error type for function parameter-related errors.

type DatabaseError

type DatabaseError struct {
	RscError
}

DatabaseError An RSCGo error type for database-related errors.

type NetError

type NetError struct {
	RscError
	Fatal bool
}

NetError A RSCGo network-related error.

func NewNetworkError

func NewNetworkError(s string, fatal bool) NetError

NewNetworkError Returns a new database-related error.

type RscError

type RscError = error

RscError An RSCGo generic error type.

Jump to

Keyboard shortcuts

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