exceptions

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2022 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) interface{}

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