exceptions

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: May 10, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHandler

func NewHandler() contracts.ExceptionHandler

Types

type ExceptionHandler

type ExceptionHandler struct {
	// contains filtered or unexported fields
}

func (*ExceptionHandler) Handle

func (handler *ExceptionHandler) Handle(exception contracts.Exception) any

func (*ExceptionHandler) Report

func (handler *ExceptionHandler) Report(exception contracts.Exception)

func (*ExceptionHandler) ShouldReport

func (handler *ExceptionHandler) ShouldReport(exception contracts.Exception) bool

Jump to

Keyboard shortcuts

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