{"modulePath":"github.com/tooolbox/errors","version":"v1.2.3","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package report\n\n## Functions\n\n```go\nfunc BuildSentryReport(\n\terr error,\n) (errMsg string, packetDetails []raven.Interface, extraDetails map[string]interface{})\n```\nBuildSentryReport builds the components of a sentry report.  This can be used instead of ReportError() below to use additional custom conditions in the reporting or add additional reporting tags.\n\n```go\nfunc PrintStackTrace(s *StackTrace) string\n```\nPrintStackTrace produces a human-readable partial representation of the stack trace.\n\n```go\nfunc ReportError(err error) (eventID string, retErr error)\n```\nReportError reports the given error to Sentry. The caller is responsible for checking whether telemetry is enabled.\n\n## Types\n\n```go\ntype ReportableObject = raven.Interface\n```\nReportableObject is an interface suitable for the extra detail objects provided to SendReport().\n\n```go\nfunc NewReportMessage(msg string) ReportableObject\n```\nNewReportMessage constructs string objects that can be added to calls to SendReport().\n\n```go\ntype StackTrace = raven.Stacktrace\n```\nStackTrace is an object suitable for inclusion in errors that can ultimately be reported with ReportInternalError() or similar.\n\n","path":"github.com/tooolbox/errors/report","name":"report","synopsis":"","isRedistributable":true}
