package
Version:
v0.0.0-...-efd161f
Opens a new window with list of versions in this module.
Published: May 22, 2022
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func Error(id int, message interface{}) error
Error creates and logs an error message.
'id' should be a unique error ID specified in hex,
for example Error(0xE12345, "some error message")
'message' contains an error message.
This should be a string or an error value.
Returns an error containing a hexadecimal ID and error message.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.