errstr

package
v0.8.5 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2021 License: MIT Imports: 13 Imported by: 19

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CharCollectionMap added in v0.0.8

type CharCollectionMap struct {
	*corestr.CharCollectionMap
	ErrorWrapper *errorwrapper.Wrapper
}

func EmptyCharCollectionMap added in v0.0.8

func EmptyCharCollectionMap() *CharCollectionMap

func EmptyCharCollectionMapUsingError added in v0.0.8

func EmptyCharCollectionMapUsingError(
	wrapper *errorwrapper.Wrapper,
) *CharCollectionMap

EmptyCharCollectionMapUsingError wrapper nil will point to empty error wrapper

func NewCharCollectionMap added in v0.0.8

func NewCharCollectionMap(capacity int, eachCollectionCapacity int) *CharCollectionMap

func NewCharCollectionMapUsingItemsError added in v0.0.8

func NewCharCollectionMapUsingItemsError(
	items *[]string,
	err error,
	errVariation errtype.Variation,
) *CharCollectionMap

func NewCharCollectionMapUsingItemsErrorWrapper added in v0.0.8

func NewCharCollectionMapUsingItemsErrorWrapper(
	items *[]string,
	wrapper *errorwrapper.Wrapper,
) *CharCollectionMap

NewCharCollectionMapUsingItemsErrorWrapper wrapper nil will point to empty error wrapper

func NewCharCollectionMapUsingPtrItemsError added in v0.0.8

func NewCharCollectionMapUsingPtrItemsError(
	ptrItems *[]*string,
	err error,
	errVariation errtype.Variation,
) *CharCollectionMap

type CharHashsetMap added in v0.0.8

type CharHashsetMap struct {
	*corestr.CharHashsetMap
	ErrorWrapper *errorwrapper.Wrapper
}

func EmptyCharHashsetMap added in v0.0.8

func EmptyCharHashsetMap() *CharHashsetMap

func EmptyCharHashsetMapUsingError added in v0.0.8

func EmptyCharHashsetMapUsingError(
	wrapper *errorwrapper.Wrapper,
) *CharHashsetMap

EmptyCharHashsetMapUsingError wrapper nil will point to empty error wrapper

func NewCharHashsetMap added in v0.0.8

func NewCharHashsetMap(capacity int, eachCollectionCapacity int) *CharHashsetMap

func NewCharHashsetMapUsingItemsError added in v0.0.8

func NewCharHashsetMapUsingItemsError(
	items *[]string,
	err error,
	errVariation errtype.Variation,
) *CharHashsetMap

func NewCharHashsetMapUsingItemsErrorWrapper added in v0.0.8

func NewCharHashsetMapUsingItemsErrorWrapper(
	items *[]string,
	wrapper *errorwrapper.Wrapper,
	eachHashsetCapacity int,
) *CharHashsetMap

NewCharHashsetMapUsingItemsErrorWrapper wrapper nil will point to empty error wrapper

func NewCharHashsetMapUsingPtrItemsError added in v0.0.8

func NewCharHashsetMapUsingPtrItemsError(
	ptrItems *[]*string,
	err error,
	errVariation errtype.Variation,
) *CharHashsetMap

type Collection added in v0.0.8

type Collection struct {
	*corestr.Collection
	ErrorWrapper *errorwrapper.Wrapper
}

func EmptyCollection added in v0.0.8

func EmptyCollection() *Collection

func EmptyCollectionUsingError added in v0.0.8

func EmptyCollectionUsingError(
	wrapper *errorwrapper.Wrapper,
) *Collection

EmptyCollectionUsingError wrapper nil will point to empty error wrapper

func NewCollection added in v0.0.8

func NewCollection(capacity int) *Collection

func NewCollectionUsingItemsError added in v0.0.8

func NewCollectionUsingItemsError(
	items *[]string,
	isMakeClone bool,
	err error,
	errVariation errtype.Variation,
) *Collection

func NewCollectionUsingItemsErrorWrapper added in v0.0.8

func NewCollectionUsingItemsErrorWrapper(
	items *[]string,
	isMakeClone bool,
	wrapper *errorwrapper.Wrapper,
) *Collection

NewCollectionUsingItemsErrorWrapper wrapper nil will point to empty error wrapper

func NewCollectionUsingLength added in v0.0.8

func NewCollectionUsingLength(len, capacity int) *Collection

func NewCollectionUsingPtrItemsError added in v0.0.8

func NewCollectionUsingPtrItemsError(
	ptrItems *[]*string,
	err error,
	errVariation errtype.Variation,
) *Collection

func (*Collection) HasError added in v0.7.0

func (it *Collection) HasError() bool

func (*Collection) HasSafeItems added in v0.7.0

func (it *Collection) HasSafeItems() bool

HasSafeItems No errors and has items

func (*Collection) IsEmpty added in v0.7.0

func (it *Collection) IsEmpty() bool

func (*Collection) IsEmptyError added in v0.7.0

func (it *Collection) IsEmptyError() bool

func (*Collection) IsFailed added in v0.7.0

func (it *Collection) IsFailed() bool

func (*Collection) IsSuccess added in v0.7.0

func (it *Collection) IsSuccess() bool

func (*Collection) IsValid added in v0.7.0

func (it *Collection) IsValid() bool

type Hashmap added in v0.0.8

type Hashmap struct {
	*corestr.Hashmap
	ErrorWrapper *errorwrapper.Wrapper
}

func EmptyHashmap added in v0.0.8

func EmptyHashmap() *Hashmap

func EmptyHashmapUsingErrorWrapper added in v0.0.8

func EmptyHashmapUsingErrorWrapper(
	wrapper *errorwrapper.Wrapper,
) *Hashmap

EmptyHashmapUsingErrorWrapper wrapper nil will point to empty error wrapper

func NewHashmap added in v0.0.8

func NewHashmap(capacity int) *Hashmap

func NewHashmapUsingCollection added in v0.0.8

func NewHashmapUsingCollection(
	keys, values *corestr.Collection,
) *Hashmap

func NewHashmapUsingError added in v0.0.8

func NewHashmapUsingError(
	keys, values *[]string,
	err error,
	errVariation errtype.Variation,
) *Hashmap

func NewHashmapUsingErrorNoType added in v0.0.8

func NewHashmapUsingErrorNoType(
	err error,
	keyAnyValuePairs ...corestr.KeyAnyValuePair,
) *Hashmap

func NewHashmapUsingItemsError added in v0.0.8

func NewHashmapUsingItemsError(
	keys, values *[]string,
	wrapper *errorwrapper.Wrapper,
) *Hashmap

NewHashmapUsingItemsError wrapper nil will point to empty error wrapper

func NewHashmapUsingKeyAnyValPairs added in v0.0.8

func NewHashmapUsingKeyAnyValPairs(
	err error,
	errVariation errtype.Variation,
	keyAnyValuePairs ...corestr.KeyAnyValuePair,
) *Hashmap

func NewHashmapUsingKeyAnyValPairsPtr added in v0.0.8

func NewHashmapUsingKeyAnyValPairsPtr(
	keyAnyValuePairs *[]corestr.KeyAnyValuePair,
	err error,
	errVariation errtype.Variation,
) *Hashmap

func NewHashmapUsingKeyValPairs added in v0.0.8

func NewHashmapUsingKeyValPairs(
	err error,
	errVariation errtype.Variation,
	keyValuePairs ...corestr.KeyValuePair,
) *Hashmap

func NewHashmapUsingKeyValPairsPtr added in v0.0.8

func NewHashmapUsingKeyValPairsPtr(
	keyValuePairs *[]corestr.KeyValuePair,
	err error,
	errVariation errtype.Variation,
) *Hashmap

func NewHashmapUsingMap added in v0.0.8

func NewHashmapUsingMap(
	items *map[string]string,
	addCapacity int,
) *Hashmap

NewHashmapUsingMap having addCapacity <= 0 , keeps the same pointer for the hashset.

func NewHashmapUsingMapError added in v0.0.8

func NewHashmapUsingMapError(
	items *map[string]string,
	err error,
	errVariation errtype.Variation,
) *Hashmap

type Hashset added in v0.0.8

type Hashset struct {
	*corestr.Hashset
	ErrorWrapper *errorwrapper.Wrapper
}

func EmptyHashset added in v0.0.8

func EmptyHashset() *Hashset

func EmptyHashsetUsingErrorWrapper added in v0.0.8

func EmptyHashsetUsingErrorWrapper(
	wrapper *errorwrapper.Wrapper,
) *Hashset

EmptyHashsetUsingErrorWrapper wrapper nil will point to empty error wrapper

func NewHashset added in v0.0.8

func NewHashset(capacity int) *Hashset

func NewHashsetUsingCollection added in v0.0.8

func NewHashsetUsingCollection(
	collection *corestr.Collection,
	addCapacity int,
) *Hashset

NewHashsetUsingCollection having addCapacity <= 0 , keeps the same pointer for the hashset.

func NewHashsetUsingError added in v0.0.8

func NewHashsetUsingError(
	items *[]string,
	err error,
	errVariation errtype.Variation,
) *Hashset

func NewHashsetUsingItemsError added in v0.0.8

func NewHashsetUsingItemsError(
	items *[]string,
	wrapper *errorwrapper.Wrapper,
	addCapacity int,
) *Hashset

NewHashsetUsingItemsError wrapper nil will point to empty error wrapper

func NewHashsetUsingMap added in v0.0.8

func NewHashsetUsingMap(
	items map[string]bool,
	addCapacity int,
) *Hashset

NewHashsetUsingMap having addCapacity <= 0 , keeps the same pointer for the hashset.

func NewHashsetUsingMapError added in v0.0.8

func NewHashsetUsingMapError(
	items map[string]bool,
	err error,
	errVariation errtype.Variation,
) *Hashset

func NewHashsetUsingPtrStringError added in v0.0.8

func NewHashsetUsingPtrStringError(
	items *[]*string,
	err error,
	errVariation errtype.Variation,
) *Hashset

func NewHashsetUsingPtrStringErrorNoType added in v0.0.8

func NewHashsetUsingPtrStringErrorNoType(
	items *[]*string,
	err error,
) *Hashset

func NewHashsetUsingStringErrorNoType added in v0.0.8

func NewHashsetUsingStringErrorNoType(
	items *[]string,
	err error,
) *Hashset

type HashsetsCollection added in v0.0.8

type HashsetsCollection struct {
	*corestr.HashsetsCollection
	ErrorWrapper *errorwrapper.Wrapper
}

func EmptyHashsetsCollection added in v0.0.8

func EmptyHashsetsCollection() *HashsetsCollection

func EmptyHashsetsCollectionUsingError added in v0.0.8

func EmptyHashsetsCollectionUsingError(
	wrapper *errorwrapper.Wrapper,
) *HashsetsCollection

EmptyHashsetsCollectionUsingError wrapper nil will point to empty error wrapper

func NewHashsetsCollection added in v0.0.8

func NewHashsetsCollection(sets []corestr.Hashset) *HashsetsCollection

func NewHashsetsCollectionUsingHashsets added in v0.0.8

func NewHashsetsCollectionUsingHashsets(
	items ...corestr.Hashset,
) *HashsetsCollection

func NewHashsetsCollectionUsingItemsError added in v0.0.8

func NewHashsetsCollectionUsingItemsError(
	wrapper *errorwrapper.Wrapper,
	items ...*corestr.Hashset,
) *HashsetsCollection

NewHashsetsCollectionUsingItemsError wrapper nil will point to empty error wrapper

func NewHashsetsCollectionUsingLength added in v0.0.8

func NewHashsetsCollectionUsingLength(len, capacity int) *HashsetsCollection

func NewHashsetsCollectionUsingPtrHashsets added in v0.0.8

func NewHashsetsCollectionUsingPtrHashsets(
	items ...*corestr.Hashset,
) *HashsetsCollection

type LinkedCollections added in v0.1.0

type LinkedCollections struct {
	*corestr.LinkedCollections
	ErrorWrapper *errorwrapper.Wrapper
}

func EmptyLinkedCollections added in v0.1.0

func EmptyLinkedCollections() *LinkedCollections

func EmptyLinkedCollectionsUsingError added in v0.1.0

func EmptyLinkedCollectionsUsingError(
	wrapper *errorwrapper.Wrapper,
) *LinkedCollections

EmptyLinkedCollectionsUsingError wrapper nil will point to empty error wrapper

func NewLinkedCollections added in v0.1.0

func NewLinkedCollections() *LinkedCollections

func NewLinkedCollectionsUsingItemsError added in v0.1.0

func NewLinkedCollectionsUsingItemsError(
	items *[]string,
	isMakeClone bool,
	err error,
	errVariation errtype.Variation,
) *LinkedCollections

func NewLinkedCollectionsUsingItemsErrorWrapper added in v0.1.0

func NewLinkedCollectionsUsingItemsErrorWrapper(
	items *[]string,
	isMakeClone bool,
	wrapper *errorwrapper.Wrapper,
) *LinkedCollections

NewLinkedCollectionsUsingItemsErrorWrapper wrapper nil will point to empty error wrapper

func NewLinkedCollectionsUsingPtrItemsError added in v0.1.0

func NewLinkedCollectionsUsingPtrItemsError(
	ptrItems []*string,
	err error,
	errVariation errtype.Variation,
) *LinkedCollections

type LinkedList added in v0.1.0

type LinkedList struct {
	*corestr.LinkedList
	ErrorWrapper *errorwrapper.Wrapper
}

func EmptyLinkedList added in v0.1.0

func EmptyLinkedList() *LinkedList

func EmptyLinkedListUsingError added in v0.1.0

func EmptyLinkedListUsingError(
	wrapper *errorwrapper.Wrapper,
) *LinkedList

EmptyLinkedListUsingError wrapper nil will point to empty error wrapper

func NewLinkedList added in v0.1.0

func NewLinkedList() *LinkedList

func NewLinkedListUsingItemsError added in v0.1.0

func NewLinkedListUsingItemsError(
	items []string,
	err error,
	errVariation errtype.Variation,
) *LinkedList

func NewLinkedListUsingItemsErrorWrapper added in v0.1.0

func NewLinkedListUsingItemsErrorWrapper(
	items *[]string,
	wrapper *errorwrapper.Wrapper,
) *LinkedList

NewLinkedListUsingItemsErrorWrapper wrapper nil will point to empty error wrapper

func NewLinkedListUsingPtrItemsError added in v0.1.0

func NewLinkedListUsingPtrItemsError(
	ptrItems []*string,
	err error,
	errVariation errtype.Variation,
) *LinkedList

type Result

type Result struct {
	Value        string
	ErrorWrapper *errorwrapper.Wrapper
}

func Empty added in v0.7.6

func Empty() *Result

func EmptyErrorResult

func EmptyErrorResult(
	result string,
) *Result

func Error added in v0.2.0

func Error(
	errType errtype.Variation,
	err error,
) *Result

func ErrorWrapper added in v0.2.0

func ErrorWrapper(
	errW *errorwrapper.Wrapper,
) *Result

func New

func New(
	result string,
	errW *errorwrapper.Wrapper,
) *Result

func (*Result) AsValueWithErrorWrapperBinder added in v0.7.6

func (it *Result) AsValueWithErrorWrapperBinder() errinf.ValueWithErrorWrapperBinder

func (*Result) Bool added in v0.7.6

func (it *Result) Bool() bool

func (*Result) Byte added in v0.7.6

func (it *Result) Byte() byte

func (*Result) HasError added in v0.7.0

func (it *Result) HasError() bool

func (*Result) HasIssuesOrEmpty added in v0.7.6

func (it *Result) HasIssuesOrEmpty() bool

func (*Result) HasIssuesOrWhitespace added in v0.7.0

func (it *Result) HasIssuesOrWhitespace() bool

func (*Result) HasSafeItems added in v0.7.0

func (it *Result) HasSafeItems() bool

func (*Result) Int added in v0.7.6

func (it *Result) Int() int

func (*Result) IsEmpty added in v0.7.0

func (it *Result) IsEmpty() bool

func (*Result) IsEmptyError added in v0.7.0

func (it *Result) IsEmptyError() bool

func (*Result) IsEmptyOrWhitespace added in v0.7.0

func (it *Result) IsEmptyOrWhitespace() bool

func (*Result) IsEqual added in v0.7.8

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

func (*Result) IsEqualIgnoreCase added in v0.7.8

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

func (*Result) IsFailed added in v0.7.0

func (it *Result) IsFailed() bool

func (*Result) IsSuccess added in v0.7.0

func (it *Result) IsSuccess() bool

func (*Result) IsValid added in v0.7.0

func (it *Result) IsValid() bool

func (Result) Json added in v0.7.6

func (it Result) Json() corejson.Result

func (*Result) JsonModelAny added in v0.7.6

func (it *Result) JsonModelAny() interface{}

func (*Result) JsonParseSelfInject added in v0.7.6

func (it *Result) JsonParseSelfInject(jsonResult *corejson.Result) error

func (Result) JsonPtr added in v0.7.9

func (it Result) JsonPtr() *corejson.Result

func (*Result) SimpleStringOnce added in v0.8.0

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

func (*Result) SplitLines added in v0.7.7

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

func (*Result) SplitLinesSimpleSlice added in v0.7.7

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

func (*Result) String added in v0.7.6

func (it *Result) String() string

func (*Result) ValidValue added in v0.7.6

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

type Result2

type Result2 struct {
	Result
	Value2 string
}

func EmptyErrorNew2 added in v0.7.6

func EmptyErrorNew2(
	errorWrapper *errorwrapper.Wrapper,
) *Result2

func EmptyNew2 added in v0.7.6

func EmptyNew2() *Result2

func New2

func New2(
	result,
	result2 string,
	wrapper *errorwrapper.Wrapper,
) *Result2

type Result3

type Result3 struct {
	Result2
	Value3 string
}

func EmptyNew3 added in v0.7.6

func EmptyNew3() *Result3

func EmptyNew3UsingErrorWrapper added in v0.7.6

func EmptyNew3UsingErrorWrapper(errWp *errorwrapper.Wrapper) *Result3

func New3

func New3(
	result,
	result2,
	result3 string,
	errorWrapper *errorwrapper.Wrapper,
) *Result3

type ResultWithApplicable

type ResultWithApplicable struct {
	Result
	IsApplicable bool
}

func EmptyErrorApplicableResult

func EmptyErrorApplicableResult(
	result string,
	isApplicable bool,
) *ResultWithApplicable

func NewApplicable

func NewApplicable(
	result string,
	isApplicable bool,
	errWrapper *errorwrapper.Wrapper,
) *ResultWithApplicable

func NewApplicableError added in v0.7.6

func NewApplicableError(
	errWrapper *errorwrapper.Wrapper,
) *ResultWithApplicable

type ResultWithApplicable2

type ResultWithApplicable2 struct {
	Result2
	IsApplicable bool
}

func EmptyErrorApplicableResult2

func EmptyErrorApplicableResult2(
	result,
	result2 string,
	isApplicable bool,
) *ResultWithApplicable2

func ErrorApplicableResult2 added in v0.7.6

func ErrorApplicableResult2(
	errorWrapper *errorwrapper.Wrapper,
) *ResultWithApplicable2

func NewApplicable2

func NewApplicable2(
	result,
	result2 string,
	isApplicable bool,
	errorWrapper *errorwrapper.Wrapper,
) *ResultWithApplicable2

type Results

type Results struct {
	Values       []string
	ErrorWrapper *errorwrapper.Wrapper
}

func EmptyErrorResults

func EmptyErrorResults(
	values ...string,
) *Results

func EmptyResults added in v0.7.5

func EmptyResults() *Results

func EmptyResultsWithError added in v0.7.5

func EmptyResultsWithError(
	errorWrapper *errorwrapper.Wrapper,
) *Results

func NewResults

func NewResults(
	errWrapper *errorwrapper.Wrapper,
	values ...string,
) *Results

func ResultsError added in v0.0.5

func ResultsError(
	variation errtype.Variation,
	err error,
) *Results

func (*Results) AsValuesWithErrorWrapperBinder added in v0.7.6

func (it *Results) AsValuesWithErrorWrapperBinder() errinf.ValuesWithErrorWrapperBinder

func (*Results) HasAnyItem added in v0.7.3

func (it *Results) HasAnyItem() bool

func (*Results) HasError added in v0.3.6

func (it *Results) HasError() bool

func (*Results) HasIssuesOrEmpty added in v0.3.6

func (it *Results) HasIssuesOrEmpty() bool

func (*Results) HasSafeItems added in v0.3.4

func (it *Results) HasSafeItems() bool

HasSafeItems No errors and has items

func (*Results) IsEmpty added in v0.7.3

func (it *Results) IsEmpty() bool

func (*Results) IsEmptyError added in v0.3.4

func (it *Results) IsEmptyError() bool

func (*Results) IsFailed added in v0.7.0

func (it *Results) IsFailed() bool

func (*Results) IsSuccess added in v0.7.0

func (it *Results) IsSuccess() bool

func (*Results) IsValid added in v0.7.6

func (it *Results) IsValid() bool

func (Results) Json added in v0.7.6

func (it Results) Json() corejson.Result

func (*Results) JsonModelAny added in v0.7.6

func (it *Results) JsonModelAny() interface{}

func (*Results) JsonParseSelfInject added in v0.7.6

func (it *Results) JsonParseSelfInject(jsonResult *corejson.Result) error

func (Results) JsonPtr added in v0.7.9

func (it Results) JsonPtr() *corejson.Result

func (*Results) Length added in v0.7.3

func (it *Results) Length() int

func (*Results) SimpleSlice added in v0.7.3

func (it *Results) SimpleSlice() *corestr.SimpleSlice

func (*Results) String added in v0.7.6

func (it *Results) String() string

func (*Results) StringCollection added in v0.7.7

func (it *Results) StringCollection() *corestr.Collection

func (*Results) ValueMust added in v0.3.6

func (it *Results) ValueMust() *[]string

func (*Results) ValueNonPtr added in v0.7.2

func (it *Results) ValueNonPtr() []string

type ResultsWithErrorCollection added in v0.3.3

type ResultsWithErrorCollection struct {
	Values        []string
	ErrorWrappers *errwrappers.Collection
}

func EmptyResultsWithErrorCollection added in v0.3.3

func EmptyResultsWithErrorCollection() ResultsWithErrorCollection

func EmptyResultsWithErrorCollectionPtr added in v0.3.3

func EmptyResultsWithErrorCollectionPtr() *ResultsWithErrorCollection

func NewResultsWithErrorCollection added in v0.3.3

func NewResultsWithErrorCollection(
	values []string,
	errCollection *errwrappers.Collection,
) *ResultsWithErrorCollection

func NewResultsWithErrorCollectionUsingErrorCollection added in v0.3.5

func NewResultsWithErrorCollectionUsingErrorCollection(
	errCollection *errwrappers.Collection,
) ResultsWithErrorCollection

func NewResultsWithErrorCollectionUsingErrorCollectionPtr added in v0.3.5

func NewResultsWithErrorCollectionUsingErrorCollectionPtr(
	errCollection *errwrappers.Collection,
) *ResultsWithErrorCollection

func NewResultsWithErrorCollectionUsingTypeErrorPtr added in v0.3.5

func NewResultsWithErrorCollectionUsingTypeErrorPtr(
	errType errtype.Variation,
	err error,
) *ResultsWithErrorCollection

func NewResultsWithErrorCollectionUsingTypeMessagePtr added in v0.3.5

func NewResultsWithErrorCollectionUsingTypeMessagePtr(
	errType errtype.Variation,
	msg string,
) *ResultsWithErrorCollection

func NewResultsWithErrorCollectionUsingTypePtr added in v0.3.5

func NewResultsWithErrorCollectionUsingTypePtr(
	errType errtype.Variation,
) *ResultsWithErrorCollection

func (*ResultsWithErrorCollection) AsValuesWithErrorWrapperBinder added in v0.7.6

func (it *ResultsWithErrorCollection) AsValuesWithErrorWrapperBinder() errinf.ValuesWithErrorWrapperBinder

func (*ResultsWithErrorCollection) HasAnyItem added in v0.7.6

func (it *ResultsWithErrorCollection) HasAnyItem() bool

func (*ResultsWithErrorCollection) HasError added in v0.3.6

func (it *ResultsWithErrorCollection) HasError() bool

func (*ResultsWithErrorCollection) HasIssuesOrEmpty added in v0.3.6

func (it *ResultsWithErrorCollection) HasIssuesOrEmpty() bool

func (*ResultsWithErrorCollection) HasSafeItems added in v0.3.4

func (it *ResultsWithErrorCollection) HasSafeItems() bool

HasSafeItems No errors and has items

func (*ResultsWithErrorCollection) IsEmpty added in v0.7.6

func (it *ResultsWithErrorCollection) IsEmpty() bool

func (*ResultsWithErrorCollection) IsEmptyError added in v0.3.4

func (it *ResultsWithErrorCollection) IsEmptyError() bool

func (*ResultsWithErrorCollection) IsEmptyItems added in v0.3.4

func (it *ResultsWithErrorCollection) IsEmptyItems() bool

func (*ResultsWithErrorCollection) IsFailed added in v0.7.6

func (it *ResultsWithErrorCollection) IsFailed() bool

func (*ResultsWithErrorCollection) IsSuccess added in v0.7.6

func (it *ResultsWithErrorCollection) IsSuccess() bool

func (*ResultsWithErrorCollection) IsValid added in v0.7.6

func (it *ResultsWithErrorCollection) IsValid() bool

func (ResultsWithErrorCollection) Json added in v0.7.6

func (*ResultsWithErrorCollection) JsonModelAny added in v0.7.6

func (it *ResultsWithErrorCollection) JsonModelAny() interface{}

func (*ResultsWithErrorCollection) JsonParseSelfInject added in v0.7.6

func (it *ResultsWithErrorCollection) JsonParseSelfInject(jsonResult *corejson.Result) error

func (ResultsWithErrorCollection) JsonPtr added in v0.7.9

func (*ResultsWithErrorCollection) Length added in v0.7.6

func (it *ResultsWithErrorCollection) Length() int

func (*ResultsWithErrorCollection) String added in v0.7.6

func (it *ResultsWithErrorCollection) String() string

func (*ResultsWithErrorCollection) ToCollection added in v0.3.8

func (it *ResultsWithErrorCollection) ToCollection(
	isMakeClone bool,
) *Collection

func (*ResultsWithErrorCollection) ValueMust added in v0.3.6

func (it *ResultsWithErrorCollection) ValueMust() *[]string

func (*ResultsWithErrorCollection) ValueNonPtr added in v0.7.6

func (it *ResultsWithErrorCollection) ValueNonPtr() []string

type SimpleStringOnce added in v0.8.0

type SimpleStringOnce struct {
	Value        corestr.SimpleStringOnce
	ErrorWrapper *errorwrapper.Wrapper
}

func EmptyErrorSimpleStringOnce added in v0.8.0

func EmptyErrorSimpleStringOnce(
	result string,
) *SimpleStringOnce

func EmptySimpleStringOnce added in v0.8.0

func EmptySimpleStringOnce() *SimpleStringOnce

func ErrorSimpleStringOnce added in v0.8.0

func ErrorSimpleStringOnce(
	errType errtype.Variation,
	err error,
) *SimpleStringOnce

func ErrorWrapperSimpleStringOnce added in v0.8.0

func ErrorWrapperSimpleStringOnce(
	errW *errorwrapper.Wrapper,
) *SimpleStringOnce

func NewSimpleStringOnce added in v0.8.0

func NewSimpleStringOnce(
	result string,
	errW *errorwrapper.Wrapper,
) *SimpleStringOnce

func (*SimpleStringOnce) AsValueWithErrorWrapperBinder added in v0.8.0

func (it *SimpleStringOnce) AsValueWithErrorWrapperBinder() errinf.ValueWithErrorWrapperBinder

func (*SimpleStringOnce) Bool added in v0.8.0

func (it *SimpleStringOnce) Bool() bool

func (*SimpleStringOnce) Byte added in v0.8.0

func (it *SimpleStringOnce) Byte() byte

func (*SimpleStringOnce) HasError added in v0.8.0

func (it *SimpleStringOnce) HasError() bool

func (*SimpleStringOnce) HasIssuesOrEmpty added in v0.8.0

func (it *SimpleStringOnce) HasIssuesOrEmpty() bool

func (*SimpleStringOnce) HasIssuesOrWhitespace added in v0.8.0

func (it *SimpleStringOnce) HasIssuesOrWhitespace() bool

func (*SimpleStringOnce) HasSafeItems added in v0.8.0

func (it *SimpleStringOnce) HasSafeItems() bool

func (*SimpleStringOnce) Int added in v0.8.0

func (it *SimpleStringOnce) Int() int

func (*SimpleStringOnce) IsEmpty added in v0.8.0

func (it *SimpleStringOnce) IsEmpty() bool

func (*SimpleStringOnce) IsEmptyError added in v0.8.0

func (it *SimpleStringOnce) IsEmptyError() bool

func (*SimpleStringOnce) IsEmptyOrWhitespace added in v0.8.0

func (it *SimpleStringOnce) IsEmptyOrWhitespace() bool

func (*SimpleStringOnce) IsEqual added in v0.8.0

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

func (*SimpleStringOnce) IsEqualIgnoreCase added in v0.8.0

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

func (*SimpleStringOnce) IsFailed added in v0.8.0

func (it *SimpleStringOnce) IsFailed() bool

func (*SimpleStringOnce) IsSuccess added in v0.8.0

func (it *SimpleStringOnce) IsSuccess() bool

func (*SimpleStringOnce) IsValid added in v0.8.0

func (it *SimpleStringOnce) IsValid() bool

func (SimpleStringOnce) Json added in v0.8.0

func (it SimpleStringOnce) Json() corejson.Result

func (*SimpleStringOnce) JsonModelAny added in v0.8.0

func (it *SimpleStringOnce) JsonModelAny() interface{}

func (*SimpleStringOnce) JsonParseSelfInject added in v0.8.0

func (it *SimpleStringOnce) JsonParseSelfInject(jsonResult *corejson.Result) error

func (SimpleStringOnce) JsonPtr added in v0.8.0

func (it SimpleStringOnce) JsonPtr() *corejson.Result

func (*SimpleStringOnce) SplitLines added in v0.8.0

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

func (*SimpleStringOnce) SplitLinesSimpleSlice added in v0.8.0

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

func (*SimpleStringOnce) String added in v0.8.0

func (it *SimpleStringOnce) String() string

func (*SimpleStringOnce) ValidValue added in v0.8.0

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

Jump to

Keyboard shortcuts

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