Documentation ¶
Index ¶
- Constants
- func DecorateHardFailError(err error) error
- func Filter[T any](slice []T, lambda func(t T) bool) []T
- func FilterUInt64Slice(slice []uint64, item uint64) []uint64
- func Map[I any, O any](input []I, lambda func(i I) O) []O
- func MetricsPanicCallback(err any, ctx sdk.Context, key string)
- func PanicHandler(recoverCallback func(any)) func()
- func Reduce[I, O any](input []I, reducer func(I, O) O, initial O) O
- func SliceCopy[T any](slice []T) []T
Constants ¶
View Source
const HardFailPrefix = "hard fail error occurred"
Variables ¶
This section is empty.
Functions ¶
func DecorateHardFailError ¶
func FilterUInt64Slice ¶
func PanicHandler ¶
func PanicHandler(recoverCallback func(any)) func()
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.