lbrynet

package
v0.13.7 Latest Latest
Warning

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

Go to latest
Published: May 13, 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