Documentation
¶
Index ¶
- Variables
- func Empty() *errorwrapper.Wrapper
- func NotImpl(url string) *errorwrapper.Wrapper
- func NotImplPanic(url string, todoMessage string)
- func NotImplPtrUsingStackSkip(stackSkipIndex int, url string) *errorwrapper.Wrapper
- func NotSupportedOption(varName string, val interface{}, messages ...string) *errorwrapper.Wrapper
- func NotSupportedOptionUsingStackSkip(stackSkipIndex int, varName string, val interface{}, messages ...string) *errorwrapper.Wrapper
- func OnEmpty(wrapper *errorwrapper.Wrapper) *errorwrapper.Wrapper
- func OutOfRange(start, end, ranges interface{}, message string) *errorwrapper.Wrapper
- func WasExpecting(variant errtype.Variation, title string, expecting, actual interface{}) *errorwrapper.Wrapper
- func WasExpectingUsingStackSkip(stackSkipIndex int, variant errtype.Variation, title string, ...) *errorwrapper.Wrapper
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Messages = newMessagesToErrorWrapperCreator{} Message = newMessageToErrorWrapperCreator{} Enum = newEnumToErrorWrapperCreator{} Ref = newRefToErrorWrapperCreator{} Refs = newReferencesToErrorWrapperCreator{} Path = newPathToErrorWrapperCreator{} Merge = newMergeToErrorWrapperCreator{} FromTo = newFromToErrorWrapperCreator{} Null = newNullToErrorWrapperCreator{} Type = newTypeToWrapperCreator{} Friendly = newFriendlyErrorCreator{} Error = newErrorToWrapperCreator{} Range = newRangeWrapperCreator{} Unmarshal = newUnmarshalWrapperCreator{} // refers to unmarshal related quick errors Fmt = newFormatterCreator{} MessageWithRef = newMessageWithRefCreator{} Json = newJsonToWrapperCreator{} Payload = newPayloadToErrorWrapperCreator{} Reflect = newReflectErrToWrapperCreator{} DeserializeTo = newDeserializeToWrapperCreator{} // actually helps to deserialize to something ErrInterface = newErrorInterfaceToWrapperCreator{} SrcDst = newSourceDestinationToErrorWrapperCreator{} MappingFailed = Messages.Single(errtype.MappingFailed, "Cannot map the given data to expected data format from the dictionary or map.") InvalidSystemUser = Messages.Single(errtype.SysUserInvalid, "System user not found or id has issues.") InvalidSystemGroup = Messages.Single(errtype.SysGroupInvalid, "System group not found or id has issues.") FinalizedResourceCannotAccess = Type.Create(errtype.FinalizedResourceCannotAccess) NotFound = newNotFoundErrCreator{} EmptyString = Type.Create(errtype.EmptyString) Unexpected = Type.Create(errtype.Unexpected) InvalidInput = Type.Create(errtype.InvalidInput) Invalid = Type.Create(errtype.Invalid) InvalidOption = Type.Create(errtype.InvalidOption) )
Functions ¶
func Empty ¶ added in v0.0.5
func Empty() *errorwrapper.Wrapper
func NotImpl ¶
func NotImpl( url string, ) *errorwrapper.Wrapper
func NotImplPanic ¶ added in v0.4.7
func NotImplPtrUsingStackSkip ¶ added in v0.7.9
func NotImplPtrUsingStackSkip( stackSkipIndex int, url string, ) *errorwrapper.Wrapper
func NotSupportedOption ¶ added in v0.1.4
func NotSupportedOption( varName string, val interface{}, messages ...string, ) *errorwrapper.Wrapper
func NotSupportedOptionUsingStackSkip ¶ added in v0.8.9
func NotSupportedOptionUsingStackSkip( stackSkipIndex int, varName string, val interface{}, messages ...string, ) *errorwrapper.Wrapper
func OnEmpty ¶ added in v0.9.2
func OnEmpty( wrapper *errorwrapper.Wrapper, ) *errorwrapper.Wrapper
func OutOfRange ¶
func OutOfRange( start, end, ranges interface{}, message string, ) *errorwrapper.Wrapper
func WasExpecting ¶ added in v0.4.9
func WasExpecting( variant errtype.Variation, title string, expecting, actual interface{}, ) *errorwrapper.Wrapper
func WasExpectingUsingStackSkip ¶ added in v0.7.9
Types ¶
This section is empty.
Source Files
¶
- constructors.go
- consts.go
- newDeserializeToWrapperCreator.go
- newEnumToErrorWrapperCreator.go
- newErrorInterfaceToWrapperCreator.go
- newErrorToWrapperCreator.go
- newFormatterCreator.go
- newFriendlyErrorCreator.go
- newFromToErrorWrapperCreator.go
- newJsonToWrapperCreator.go
- newMergeToErrorWrapperCreator.go
- newMessageToErrorWrapperCreator.go
- newMessageWithRefCreator.go
- newMessagesToErrorWrapperCreator.go
- newNotFoundErrCreator.go
- newNullToErrorWrapperCreator.go
- newPathToErrorWrapperCreator.go
- newPayloadToErrorWrapperCreator.go
- newRangeWrapperCreator.go
- newRefToErrorWrapperCreator.go
- newReferencesToErrorWrapperCreator.go
- newReflectSetErrToWrapperCreator.go
- newSourceDestinationToErrorWrapperCreator.go
- newTypeToWrapperCreator.go
- newUnmarshalWrapperCreator.go
- vars.go
Click to show internal directories.
Click to hide internal directories.