File: 500-dev.html

package info (click to toggle)
golang-github-revel-revel 0.12.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 840 kB
  • ctags: 832
  • sloc: makefile: 7; xml: 7
file content (133 lines) | stat: -rw-r--r-- 2,506 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
		<style type="text/css">
		html, body {
			margin: 0;
			padding: 0;
			font-family: Helvetica, Arial, Sans;
			background: #EEEEEE;
		}
		.block {
			padding: 20px;
			border-bottom: 1px solid #aaa;
		}
		#header h1 {
			font-weight: normal;
			font-size: 28px;
			margin: 0;
		}
		#more {
			color: #666;
			font-size: 80%;
			border: none;
		}
		#header {
			background: #fcd2da;
		}
		#header p {
			color: #333;
		}
		#source {
			background: #f6f6f6;
		}
		#source h2 {
			font-weight: normal;
			font-size: 18px;
			margin: 0 0 10px 0;
		}
		#source .lineNumber {
			float: left;
			display: block;
			width: 40px;
			text-align: right;
			margin-right: 10px;
			font-size: 14px;
			font-family: monospace;
			background: #333;
			color: #fff;
		}
		#source .line {
			clear: both;
			color: #333;
			margin-bottom: 1px;
		}
		#source pre {
			font-size: 14px;
			margin: 0;
			overflow-x: hidden;
		}
		#source .error {
			color: #c00 !important;
		}
		#source .error .lineNumber {
			background: #c00;
		}
		#source a {
			text-decoration: none;
		}
		#source a:hover * {
			cursor: pointer !important;
		}
		#source a:hover pre {
			background: #FAFFCF !important;
		}
		#source em {
			font-style: normal;
			text-decoration: underline;
			font-weight: bold;
		}
		#source strong {
			font-style: normal;
			font-weight: bold;
		}
		#stack {
			background: #eee;
			padding:0 1em 1em;
		}
		#stack h3 {
			font-weight: normal;
		}
		#stack code {
			font-family:monospace;
			white-space: pre;
		}
		</style>
		{{with .Error}}
		<div id="header" class="block">
			<h1>{{.Title}}</h1>
			<p>
				{{if .SourceType}}
					The {{.SourceType}} <strong>{{.Path}}</strong> does not compile: <strong>{{.Description}}</strong>
				{{else}}
					{{.Description}}
				{{end}}
			</p>
		</div>
		{{if .Path}}
		<div id="source" class="block">
			<h2>In {{.Path}}
				{{if .Line}}
					(around {{if .Line}}line {{.Line}}{{end}}{{if .Column}} column {{.Column}}{{end}})
				{{end}}
			</h2>
			{{range .ContextSource}}
				<div class="line {{if .IsError}}error{{end}}">
					<span class="lineNumber">{{.Line}}:</span>
					<pre>{{.Source}}</pre>
				</div>
			{{end}}
		</div>
		{{end}}
		{{if .Stack}}
		<div id="stack">
			<h3>Call Stack</h3>
			<code>{{.Stack}}</code>
		</div>
		{{end}}
		{{if .MetaError}}
			<div id="source" class="block">
				<h2>Additionally, an error occurred while handling this error.</h2>
				<div class="line error">
					{{.MetaError}}
				</div>
			</div>
		{{end}}
		{{end}}