lbrynet

package
v0.14.4 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrWalletNotFound      = errors.Base("wallet not found")
	ErrWalletExists        = errors.Base("wallet exists and is loaded")
	ErrWalletNeedsLoading  = errors.Base("wallet exists and needs to be loaded")
	ErrWalletNotLoaded     = errors.Base("wallet is not loaded")
	ErrWalletAlreadyLoaded = errors.Base("wallet is already loaded")
)

Functions

func NewWalletError added in v0.9.0

func NewWalletError(userID int, err error) error

NewWalletError converts plain SDK error to the typed one

Types

type WalletError added in v0.9.0

type WalletError struct {
	UserID int
	Err    error
}

func (WalletError) Error added in v0.9.0

func (e WalletError) Error() string

func (WalletError) Unwrap added in v0.9.0

func (e WalletError) Unwrap() error

Jump to

Keyboard shortcuts

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