defaulterr

package
v1.3.55 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2022 License: MIT Imports: 1 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Marshalling = errcore.
				MarshallingFailedType.
				ErrorNoRefs("Cannot marshal object to serialize form.")

	UnMarshalling = errcore.
					UnMarshallingFailedType.
					ErrorNoRefs("Cannot unmarshal data to object form.")

	UnMarshallingPlusCannotFindingEnumMap = errcore.
											UnMarshallingFailedType.
											ErrorNoRefs(
			"Cannot find in the enum map. " +
				"Reference data given as : ")

	MarshallingFailedDueToNilOrEmpty = errcore.
										UnMarshallingFailedType.
										ErrorNoRefs("Cannot marshal to serialize data because of nil or empty object.")

	UnmarshallingFailedDueToNilOrEmpty = errcore.
										UnMarshallingFailedType.
										ErrorNoRefs("Cannot unmarshal to object because of nil or empty serialized data.")

	CannotProcessNilOrEmpty = errcore.
							CannotBeNilOrEmptyType.
							ErrorNoRefs("Cannot process nil or empty.")

	OutOfRange = errcore.
				OutOfRangeType.
				ErrorNoRefs("Cannot process out of range data.")

	NegativeDataCannotProcess = errcore.
								CannotBeNegativeType.
								ErrorNoRefs("Cannot process negative values.")

	NilResult = errcore.
				NullResultType.
				ErrorNoRefs("Cannot process nil result.")

	UnexpectedValue = errcore.
					UnexpectedValueType.
					ErrorNoRefs("Cannot process unexpected value or values.")

	CannotRemoveFromEmptyCollection = errcore.
									CannotRemoveIndexesFromEmptyCollectionType.
									ErrorNoRefs("Cannot process request: cannot remove from empty collection.")

	CannotConvertStringToByte = errcore.
								FailedToConvertType.
								ErrorNoRefs("Cannot convert string to byte.")

	AttributeNull = errcore.
					NullResultType.
					ErrorNoRefs("attribute is nil!")
	JsonResultNull = errcore.
					CannotBeNilOrEmptyType.
					ErrorNoRefs("JsonResult is given as nil")

	KeyNotExistInMap = errcore.
						KeyNotExistInMapType.
						ErrorNoRefs("key doesn't exist in the map.")
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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