Documentation
¶
Index ¶
- type Instance
- func (it *Instance) ConcatNew(messages ...string) error
- func (it *Instance) ConcatNewErrors(startSkipStackIndex int, errs ...error) *errorwrapper.Wrapper
- func (it *Instance) ConcatNewString(messages ...string) string
- func (it *Instance) ConcatNewWrapper(startSkipStackIndex int, messages ...string) *errorwrapper.Wrapper
- func (it *Instance) ConcatNewWrapperUsingAnother(startSkipStackIndex int, errWrapper *errorwrapper.Wrapper) *errorwrapper.Wrapper
- func (it *Instance) ConcatNewWrapperUsingError(startSkipStackIndex int, err error) *errorwrapper.Wrapper
- func (it Instance) ErrWrap() *errorwrapper.Wrapper
- func (it Instance) ErrorWrapper() *errorwrapper.Wrapper
- func (it Instance) FullString() string
- func (it Instance) FullStringWithTraces() string
- func (it *Instance) HandleError()
- func (it *Instance) HandleErrorWith(messages ...string)
- func (it Instance) HasError() bool
- func (it Instance) HasReferences() bool
- func (it Instance) IsEmpty() bool
- func (it Instance) IsFailed() bool
- func (it *Instance) IsMessageEqual(msg string) bool
- func (it Instance) IsNull() bool
- func (it Instance) IsNullOrEmpty() bool
- func (it Instance) IsSuccess() bool
- func (it Instance) Json() corejson.Result
- func (it Instance) JsonPtr() *corejson.Result
- func (it Instance) MarshalJSON() ([]byte, error)
- func (it *Instance) Message() string
- func (it Instance) Serialize() ([]byte, error)
- func (it Instance) SerializeMust() []byte
- func (it Instance) String() string
- func (it *Instance) UnmarshalJSON(data []byte) error
- func (it *Instance) Value() *errorwrapper.Wrapper
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Instance ¶
type Instance struct {
// contains filtered or unexported fields
}
func New ¶
func New(initializerFunc func() *errorwrapper.Wrapper) Instance
func NewPtr ¶
func NewPtr(initializerFunc func() *errorwrapper.Wrapper) *Instance
func NewPtrUsingErrFunc ¶
func (*Instance) ConcatNewErrors ¶
func (it *Instance) ConcatNewErrors( startSkipStackIndex int, errs ...error, ) *errorwrapper.Wrapper
func (*Instance) ConcatNewString ¶
func (*Instance) ConcatNewWrapper ¶
func (it *Instance) ConcatNewWrapper( startSkipStackIndex int, messages ...string, ) *errorwrapper.Wrapper
func (*Instance) ConcatNewWrapperUsingAnother ¶
func (it *Instance) ConcatNewWrapperUsingAnother( startSkipStackIndex int, errWrapper *errorwrapper.Wrapper, ) *errorwrapper.Wrapper
func (*Instance) ConcatNewWrapperUsingError ¶
func (it *Instance) ConcatNewWrapperUsingError( startSkipStackIndex int, err error, ) *errorwrapper.Wrapper
func (Instance) ErrWrap ¶ added in v1.0.5
func (it Instance) ErrWrap() *errorwrapper.Wrapper
func (Instance) ErrorWrapper ¶ added in v0.9.6
func (it Instance) ErrorWrapper() *errorwrapper.Wrapper
func (Instance) FullString ¶ added in v0.9.6
func (Instance) FullStringWithTraces ¶ added in v0.9.6
func (*Instance) HandleError ¶
func (it *Instance) HandleError()
HandleError with panic if error exist or else skip
Skip if no error type (NoError).
func (*Instance) HandleErrorWith ¶
HandleErrorWith by concatenating message and then panic if error exist or else skip
Skip if no error type (NoError).
func (Instance) HasReferences ¶ added in v0.9.6
func (*Instance) IsMessageEqual ¶
func (Instance) IsNullOrEmpty ¶
func (Instance) MarshalJSON ¶
func (Instance) SerializeMust ¶ added in v0.9.6
func (*Instance) UnmarshalJSON ¶
func (*Instance) Value ¶
func (it *Instance) Value() *errorwrapper.Wrapper
Click to show internal directories.
Click to hide internal directories.