package
module
Version:
v0.0.0-...-1db943d
Opens a new window with list of versions in this module.
Published: Mar 17, 2018
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 99
Opens a new window with list of known importers.
README
¶
Errorlib
About
Go (golang) library which provides convenience functions for dealing with errors.
Example use case:
Merging a slice of potential errors into either nil
or a single concatenated error.
Created by Jay Taylor and used by Gigawatt.
Requirements
Running the test suite
go test ./...
License
Permissive MIT license, see the LICENSE file for more information.
See also:
Documentation
¶
func Error(detail interface{}) error
Errorf constructs informative errors which include helpful contextual
information.
func ErrorExit(reason error, statusCode int)
Errorf is just like `Error` with the addition of string formatting.
Merge merges a slice of errors into a single error.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.