...

Source file src/github.com/goph/emperror/handler.go

Documentation: github.com/goph/emperror

     1  package emperror
     2  
     3  // Handler is responsible for handling an error.
     4  //
     5  // This interface allows libraries to decouple from logging and error handling solutions.
     6  type Handler interface {
     7  	// Handle takes care of unhandled errors.
     8  	Handle(err error)
     9  }
    10  

View as plain text