Last change
on this file since 174 was
153,
checked in by ecprice, 17 years ago
|
Improve the error infrastructure. Hopefully this works; I haven't
really tested it.
|
File size:
397 bytes
|
Line | |
---|
1 | #from skeleton import skeleton |
---|
2 | #extends skeleton |
---|
3 | |
---|
4 | #def title |
---|
5 | Invalid input |
---|
6 | #end def |
---|
7 | |
---|
8 | #def body |
---|
9 | <h1>Invalid Input</h1> |
---|
10 | <p>Your input was bad:</p> |
---|
11 | <table> |
---|
12 | <tr><td>operation</td><td>Field</td><td>value</td><td>reason</td></tr> |
---|
13 | <tr><td>$op</td><td>$err_field</td><td>$err_value</td><td>$errorMessage</td></tr> |
---|
14 | #if $stderr |
---|
15 | <p>Printed to standard error:</p> |
---|
16 | <pre>$stderr</pre> |
---|
17 | #end if |
---|
18 | </table> |
---|
19 | #end def |
---|
Note: See
TracBrowser
for help on using the repository browser.