Versions in this module Expand all Collapse all v0 v0.9.0 Jun 15, 2015 Changes in this version + var DefaultMax = 1024 + func AddContext(ctx context.Context, key string, value interface{}) + func AddRequest(ctx context.Context, req *http.Request) + func Report(ctx context.Context, err error) error + func ReportWithSkip(ctx context.Context, err error, skip int) error + func WithReporter(ctx context.Context, r Reporter) context.Context + type BacktraceLine struct + File string + Line int + PC uintptr + type Error struct + Backtrace []*BacktraceLine + Context map[string]interface{} + Err error + Request *http.Request + func NewError(err error, skip int) *Error + func NewErrorWithContext(ctx context.Context, err error, skip int) *Error + func (e *Error) Error() string + type FallbackReporter struct + Fallback Reporter + Reporter Reporter + func (r *FallbackReporter) Report(ctx context.Context, err error) error + type LogReporter struct + func NewLogReporter() *LogReporter + func (h *LogReporter) Report(ctx context.Context, err error) error + type MultiError struct + Errors []error + func (e *MultiError) Error() string + type MultiReporter []Reporter + func (r MultiReporter) Report(ctx context.Context, err error) error + type Reporter interface + Report func(context.Context, error) error + func FromContext(ctx context.Context) (Reporter, bool) + type ReporterFunc func(context.Context, error) error + func (f ReporterFunc) Report(ctx context.Context, err error) error