Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ProcessError ¶
func ProcessError(err error)
Generic method to handle errors. You can customize this method to implement your error handling. Es.: You can implement "Sentry" or other error tracking system
func SentryReport ¶
func SentryReport(report error)
Send an error to Sentry. This requires sentry endpoint configured into the config.yml file
Types ¶
type ErrorConfiguration ¶
type ErrorConfiguration struct {
Exception struct {
Sentry string `yaml:"sentry"`
} `yaml:"exception"`
}
Click to show internal directories.
Click to hide internal directories.