genutils

package module
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: May 26, 2022 License: BSD-2-Clause Imports: 2 Imported by: 1

README

genutils

Generic utility functions

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DeepError

type DeepError struct {
	IsErr    bool
	Text     string
	Children []DeepError
	Total    uint
}

func NewDeepError

func NewDeepError(text string) DeepError

func (*DeepError) AddChildDeepError

func (e *DeepError) AddChildDeepError(err DeepError)

func (*DeepError) AddChildError

func (e *DeepError) AddChildError(err error)

func (*DeepError) BuildError

func (e *DeepError) BuildError(builder *strings.Builder, depth int)

func (*DeepError) Error

func (e *DeepError) Error() string

func (*DeepError) FlatError

func (e *DeepError) FlatError() error

Jump to

Keyboard shortcuts

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