Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrorCodeMap = map[ErrorCode]string{ InternalError: "An internal error occurred in the IBM RMF Datasource plugin. Please contact your administrator and check the logs.", FrameError: "Unable to fetch data from server.", InputError: "The input provided is invalid.", ConnectionError: "DDS connection failed.", }
View Source
var Logger = log.DefaultLogger
Functions ¶
func ErrorWithId ¶
ErrorWithId logs an error with a unique id and returns a message with the same code. The message is passed to frontend; the id can be used to identify corresponding backend error.
func LogAndRecover ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.