 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
- func Recover(in func() error) (err error)
- func RecoverO1[O1 any](in func() (O1, error)) (O1, error)
- func RecoverWithSection(section string, in func() error) error
- func RecoverWithSectionL(log logging.Logger, section string, in func() error) error
- type PanicError
- type PanicErrorDetails
- type StackEntries
- type StackEntry
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RecoverWithSection ¶
Types ¶
type PanicError ¶
type PanicError interface {
	error
	Details() PanicErrorDetails
	PanicCause() interface{}
	Stack() StackEntries
}
    func IsPanicError ¶
func IsPanicError(err error) (PanicError, bool)
type PanicErrorDetails ¶
type StackEntries ¶
type StackEntries []StackEntry
func GetStack ¶
func GetStack(skip int) StackEntries
func (StackEntries) String ¶
func (s StackEntries) String() []string
type StackEntry ¶
func (StackEntry) String ¶
func (s StackEntry) String() string
 Click to show internal directories. 
   Click to hide internal directories.