package
Version:
v0.0.0-...-af7b024
Opens a new window with list of versions in this module.
Published: Feb 8, 2020
License: Apache-2.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 2
Opens a new window with list of known importers.
Documentation
¶
Package errors implements functions to manipulate errors.
Code returns the error code for `err`. Otherwise, it returns codes.Unknown.
ErrorDesc returns the error description of `err`. Otherwise, it returns
err.Error(), or an empty string when `err` is nil.
Errorf returns an error containing an error code and a description.
Errorf returns nil if `c` is OK.
Error defines an error with an associated code value.
Error implements the builtin error interface.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.