errors

package
v0.0.0-...-1b893ba Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2021 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Handle

func Handle(err error)

Types

type CannotFindValueError

type CannotFindValueError struct{}

CannotFindValueError solve error

func NewCannotFindValueError

func NewCannotFindValueError() *CannotFindValueError

func (*CannotFindValueError) Error

func (err *CannotFindValueError) Error() string

type CannotSolveError

type CannotSolveError struct{}

CannotSolveError solve error

func NewCannotSolveError

func NewCannotSolveError() *CannotSolveError

func (*CannotSolveError) Error

func (err *CannotSolveError) Error() string

type LengthNotMatchError

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

LengthNotMatchError length not matched

func NewLengthNotMatchError

func NewLengthNotMatchError(a, b int) *LengthNotMatchError

func (*LengthNotMatchError) Error

func (err *LengthNotMatchError) Error() string

type NoPrivateKeyOrGrError

type NoPrivateKeyOrGrError struct{}

NoPrivateKeyOrGrError solve error

func NewNoPrivateKeyOrGrError

func NewNoPrivateKeyOrGrError() *NoPrivateKeyOrGrError

func (*NoPrivateKeyOrGrError) Error

func (err *NoPrivateKeyOrGrError) Error() string

type NonContractSlotError

type NonContractSlotError struct{}

NonContractSlotError solve error

func NewNonContractSlotError

func NewNonContractSlotError() *NonContractSlotError

func (*NonContractSlotError) Error

func (err *NonContractSlotError) Error() string

type OverMaxBitError

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

OverMaxBitError bit value too big

func NewOverMaxBitError

func NewOverMaxBitError(size, maxSize uint8) *OverMaxBitError

func (*OverMaxBitError) Error

func (err *OverMaxBitError) Error() string

type OverRangeError

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

OverRangeError range proof variable v over range

func NewOverRangeError

func NewOverRangeError(bit uint8, v *big.Int) *OverRangeError

func (*OverRangeError) Error

func (err *OverRangeError) Error() string

type SlotContractModeNotMatchError

type SlotContractModeNotMatchError struct{}

SlotContractModeNotMatchError slot mode set wrong

func NewSlotContractModeNotMatchError

func NewSlotContractModeNotMatchError() *SlotContractModeNotMatchError

func (*SlotContractModeNotMatchError) Error

type WrongInputLength

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

WrongInputLength input length not right

func NewWrongInputLength

func NewWrongInputLength(length int) *WrongInputLength

func (*WrongInputLength) Error

func (err *WrongInputLength) Error() string

type WrongSlotModeError

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

WrongSlotModeError slot mode set wrong

func NewWrongSlotModeError

func NewWrongSlotModeError(requireMode, inputMode uint8) *WrongSlotModeError

func (*WrongSlotModeError) Error

func (err *WrongSlotModeError) Error() string

Jump to

Keyboard shortcuts

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