errjson

package
v1.1.5 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2022 License: MIT Imports: 16 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	New   = newCreator{}
	Empty = emptyCreator{}
)

Functions

This section is empty.

Types

type Result

type Result struct {
	*corejson.Result
	ErrorWrapper *errorwrapper.Wrapper
}

func (Result) AsSafeBytesWithErrWrapGetterContractsBinder added in v1.1.5

func (it Result) AsSafeBytesWithErrWrapGetterContractsBinder() errorwrapper.SafeBytesWithErrWrapGetterContractsBinder

func (*Result) CompiledErrorWrapper added in v0.7.3

func (it *Result) CompiledErrorWrapper() *errorwrapper.Wrapper

func (*Result) Deserialize added in v1.0.2

func (it *Result) Deserialize(
	toPtr interface{},
) *errorwrapper.Wrapper

func (*Result) DeserializeSkipExistingErr added in v1.0.2

func (it *Result) DeserializeSkipExistingErr(
	toPtr interface{},
) *errorwrapper.Wrapper

func (*Result) DeserializeTo added in v1.1.5

func (it *Result) DeserializeTo(
	toPtr interface{},
) *errorwrapper.Wrapper

func (*Result) DeserializeToSkipExistingError added in v1.1.5

func (it *Result) DeserializeToSkipExistingError(
	toPtr interface{},
) *errorwrapper.Wrapper

func (*Result) ErrWrap added in v1.1.5

func (it *Result) ErrWrap() *errorwrapper.Wrapper

func (*Result) HasAnyError added in v1.1.2

func (it *Result) HasAnyError() bool

func (*Result) HasAnyItem added in v0.7.3

func (it *Result) HasAnyItem() bool

func (*Result) HasError added in v0.7.0

func (it *Result) HasError() bool

func (*Result) HasErrorWrap added in v1.1.2

func (it *Result) HasErrorWrap() bool

func (*Result) HasIssuesOrEmpty added in v0.7.0

func (it *Result) HasIssuesOrEmpty() bool

func (*Result) HasJsonResultError added in v1.1.2

func (it *Result) HasJsonResultError() bool

func (*Result) HasSafeItems added in v0.7.0

func (it *Result) HasSafeItems() bool

HasSafeItems No errors and has items

func (*Result) IsAnyNull added in v0.8.7

func (it *Result) IsAnyNull() bool

func (*Result) IsEmpty added in v0.7.3

func (it *Result) IsEmpty() bool

func (Result) IsEmptyError added in v0.7.0

func (it Result) IsEmptyError() bool

func (*Result) IsEqual added in v0.8.7

func (it *Result) IsEqual(term string) bool

func (*Result) IsEqualIgnoreCase added in v0.8.7

func (it *Result) IsEqualIgnoreCase(term string) bool

func (*Result) IsEqualResult added in v0.8.9

func (it *Result) IsEqualResult(right *Result) bool

func (Result) IsFailed added in v0.7.0

func (it Result) IsFailed() bool

func (*Result) IsNull added in v0.7.0

func (it *Result) IsNull() bool

func (Result) IsSuccess added in v0.7.0

func (it Result) IsSuccess() bool

func (*Result) JsonString added in v0.8.7

func (it *Result) JsonString() string

func (*Result) Length added in v0.7.3

func (it *Result) Length() int

func (Result) PrettyJsonBuffer added in v0.8.7

func (it Result) PrettyJsonBuffer(prefix, indent string) (*bytes.Buffer, error)

func (*Result) PrettyJsonString added in v0.8.7

func (it *Result) PrettyJsonString() string

func (*Result) PrettyJsonStringOrErrString added in v0.9.6

func (it *Result) PrettyJsonStringOrErrString() string

func (*Result) SafeBytes added in v0.8.9

func (it *Result) SafeBytes() []byte

func (*Result) SafeString added in v0.8.7

func (it *Result) SafeString() string

func (*Result) SafeValues added in v0.8.7

func (it *Result) SafeValues() []byte

func (*Result) SafeValuesPtr added in v0.8.7

func (it *Result) SafeValuesPtr() *[]byte

func (*Result) SimpleStringOnce added in v0.8.7

func (it *Result) SimpleStringOnce(
	isInit bool,
) corestr.SimpleStringOnce

func (*Result) SplitLines added in v0.8.7

func (it *Result) SplitLines() []string

func (*Result) SplitLinesSimpleSlice added in v0.8.7

func (it *Result) SplitLinesSimpleSlice() *corestr.SimpleSlice

func (*Result) String added in v0.7.0

func (it *Result) String() string

func (*Result) UnmarshalErrorJson added in v0.8.7

func (it *Result) UnmarshalErrorJson(
	toPtr interface{},
) *errorwrapper.Wrapper

func (*Result) ValidValue added in v0.8.7

func (it *Result) ValidValue() *corestr.ValidValue

type ResultsCollection added in v0.4.3

type ResultsCollection struct {
	*corejson.ResultsCollection
	ErrorCollection *errwrappers.Collection
}

func (*ResultsCollection) Dispose added in v0.8.7

func (it *ResultsCollection) Dispose()

func (*ResultsCollection) HasError added in v0.8.7

func (it *ResultsCollection) HasError() bool

func (*ResultsCollection) IsAnyNull added in v0.8.7

func (it *ResultsCollection) IsAnyNull() bool

func (*ResultsCollection) IsEmpty added in v0.8.7

func (it *ResultsCollection) IsEmpty() bool

func (*ResultsCollection) Length added in v0.8.7

func (it *ResultsCollection) Length() int

Jump to

Keyboard shortcuts

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