Documentation ¶
Index ¶
Constants ¶
View Source
const ( // error ErrNetworkConfig CfdError = "CFD Error: Invalid network configuration" ErrElementsNetwork CfdError = "CFD Error: Network configuration is not elements" ErrBitcoinNetwork CfdError = "CFD Error: Network configuration is not bitcoin" ErrUnmatchNetwork CfdError = "CFD Error: network type is unmatching" ErrParameterNil CfdError = "CFD Error: Parameter is nil" ErrDescriptorFilter CfdError = "CFD Error: Descriptor that does not match the condition" ErrMultisigScript CfdError = "CFD Error: Invalid multisig script" InternalError CfdError = "CFD Error: Internal error" // text InvalidConfigErrorMessage string = "Invalid configuration" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type HasInitializeError ¶
type HasInitializeError struct {
InitializeError error
}
HasInitializeError has a InitializeError object.
func (*HasInitializeError) GetError ¶
func (e *HasInitializeError) GetError() error
GetError returns error interface.
func (*HasInitializeError) HasError ¶
func (e *HasInitializeError) HasError() bool
HasError returns error exist flag.
func (*HasInitializeError) SetError ¶
func (e *HasInitializeError) SetError(err error)
SetError returns HasInitializeError pointer.
type MultiError ¶
type MultiError struct {
// contains filtered or unexported fields
}
func Append ¶
func Append(err *MultiError, appendErrors ...error) *MultiError
Append returns multiple errors.
func NewMultiError ¶
func NewMultiError(err error, errors ...error) *MultiError
NewMultiError returns MultiError object.
func (*MultiError) Add ¶
func (e *MultiError) Add(err error)
func (*MultiError) Exist ¶
func (e *MultiError) Exist() bool
func (*MultiError) GetErrors ¶
func (e *MultiError) GetErrors() []error
func (*MultiError) SetError ¶
func (e *MultiError) SetError(err error)
Click to show internal directories.
Click to hide internal directories.