Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrorProvider ¶
type ErrorProvider interface { Error(e error) Recover(e interface{}) Defer() }
type ErrorsContainer ¶
type ErrorsContainer struct {
// contains filtered or unexported fields
}
func NewErrorContainer ¶
func NewErrorContainer(providers ...ErrorProvider) *ErrorsContainer
func (*ErrorsContainer) AddProvider ¶
func (c *ErrorsContainer) AddProvider(provider ErrorProvider)
func (*ErrorsContainer) Error ¶
func (c *ErrorsContainer) Error(e error)
func (*ErrorsContainer) MainDefer ¶
func (c *ErrorsContainer) MainDefer()
func (*ErrorsContainer) Recover ¶
func (c *ErrorsContainer) Recover()
func (*ErrorsContainer) Suppress ¶
func (c *ErrorsContainer) Suppress()
func (*ErrorsContainer) Unsupress ¶
func (c *ErrorsContainer) Unsupress()
Click to show internal directories.
Click to hide internal directories.