MCPcopy
hub / github.com/revel/revel / Error

Struct Error

errors.go:16–24  ·  view source on GitHub ↗

Error description, used as an argument to the error template.

Source from the content-addressed store, hash-verified

14
15// Error description, used as an argument to the error template.
16type Error struct {
17 SourceType string // The type of source that failed to build.
18 Title, Path, Description string // Description of the error, as presented to the user.
19 Line, Column int // Where the error was encountered.
20 SourceLines []string // The entire source file, split into lines.
21 Stack string // The raw stack trace string from debug.Stack().
22 MetaError string // Error that occurred producing the error page.
23 Link string // A configurable link to wrap the error source in
24}
25
26// SourceLine structure to hold the per-source-line details.
27type SourceLine struct {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected