 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Overview ¶
Package err implements a threadsafe error interface. In my places, I found myself needing a lock to protect writing to a common error interface from multiple go routines (channels are great but slow). This just makes that process more convenient.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Error ¶
type Error struct {
	// contains filtered or unexported fields
}
    Error is a struct that holds an error and allows this error to be set and retrieved in a threadsafe manner.
func New ¶
func New() *Error
New is a constructor to generate a new error object that can be set and retrieved in a threadsafe manner.
 Click to show internal directories. 
   Click to hide internal directories.