Fixing an issue with output parameters that are of type IntPtr
[castle.git] / Samples / MonoRail / GettingStartedSampleVS2005 / GettingStartedSample / Views / rescues / generalerror.vm
blobf28bf295c55bd11b8e9c667848ae8f8aaf30405a
1 #macro(showexception $exc)\r
2 <b>$exc.GetType().Name</b>\r
3 \r
4 Message:\r
5 $exc.Message\r
6 \r
7 #if($exc.StackTrace)\r
8 StackTrace:\r
9 $exc.StackTrace\r
10 #end\r
12 #if($exc.InnerException)\r
13 <b>Inner exception:</b>\r
14 #set($inner = $exc.InnerException)\r
15 #showexception($inner)\r
16 #end\r
17 #end\r
19 <h2>Unexpected error happened</h3>\r
21 <p> This is the rescue page. See the exception details below </p>\r
23 <pre>\r
24 #set($exception = $context.LastException)\r
25 #showexception($exception)\r
26 </pre>