Discover Packages
github.com/privatix/dappctrl
util
errors
package
Version:
v1.2.0
Opens a new window with list of versions in this module.
Published: Oct 11, 2019
License: GPL-3.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 5
Opens a new window with list of known importers.
Documentation
Documentation
¶
InjectMessages injects errors messages into a global message map. Any
package with own errors defined should call this function during its
initialisation (i.e. in init() function).
Message returns an error message from a given error code.
Error is an error code supporting the standard error interface.
Code returns an error code of a given error.
Error returns an error message of a given error.
Messages is a mapping between error codes and error messages.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.