Error description, used as an argument to the error template.
| 14 | |
| 15 | // Error description, used as an argument to the error template. |
| 16 | type 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. |
| 27 | type SourceLine struct { |
nothing calls this directly
no outgoing calls
no test coverage detected