{"modulePath":"github.com/graphaelli/apm-server","version":"v6.0.0+incompatible","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package error\n\n## Functions\n\n```go\nfunc NewProcessor() pr.Processor\n```\n\n```go\nfunc Schema() string\n```\n\n## Types\n\n```go\ntype Event struct {\n\tId        *string       `json:\"id\"`\n\tCulprit   *string       `json:\"culprit\"`\n\tContext   common.MapStr `json:\"context\"`\n\tException *Exception    `json:\"exception\"`\n\tLog       *Log          `json:\"log\"`\n\tTimestamp time.Time     `json:\"timestamp\"`\n\n\tTransformStacktrace m.TransformStacktrace\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (e *Event) DocType() string\n```\n\n```go\nfunc (e *Event) Mappings(pa *payload) (time.Time, []m.DocMapping)\n```\n\n```go\nfunc (e *Event) Transform() common.MapStr\n```\n\n```go\ntype Exception struct {\n\tCode             interface{}        `json:\"code\"`\n\tMessage          string             `json:\"message\"`\n\tModule           *string            `json:\"module\"`\n\tAttributes       interface{}        `json:\"attributes\"`\n\tStacktraceFrames m.StacktraceFrames `json:\"stacktrace\"`\n\tType             *string            `json:\"type\"`\n\tUncaught         *bool              `json:\"uncaught\"`\n}\n```\n\n```go\ntype Log struct {\n\tLevel            *string            `json:\"level\"`\n\tMessage          string             `json:\"message\"`\n\tParamMessage     *string            `json:\"param_message\"`\n\tLoggerName       *string            `json:\"logger_name\"`\n\tStacktraceFrames m.StacktraceFrames `json:\"stacktrace\"`\n}\n```\n\n","path":"github.com/graphaelli/apm-server/processor/error","name":"error","synopsis":"","isRedistributable":true}
