# Functions
ErrorInheritf creates a new error.
ErrorPermf returns permanent error.
ErrorTempf returns temporary error.
IsErrorTemporary tries to guess if an error is temporary or fatal If unsure - report as temporary.
LoggerCreate creates a logger.
LoggerHeader returns a log header for a particular source.
RetryForever executes the provided function F() from RetryParams until succeeded It logs to logger, increments error counter and reports to prometheus (if any of these were provided).
# Structs
Error is a common error type with permanent flag.
Logger is embedded by sinks & sources structs.
RetryParams are params for RetryForever.