Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Error ¶
Error implements the standard go error interface.
errors.New(code, format, params ...interface{})
Prints as:
[package] description: details
where details is fmt.Sprintf(self.format, self.params...)
type Errors ¶
Errors implements an error handler providing standardised errors for a package. Fields:
Errors: a map from error codes to description Package: name of the package/component Level: a function mapping error code to logger.LogLevel (severity) if not given, errors default to logger.InfoLevel
Click to show internal directories.
Click to hide internal directories.