diff options
Diffstat (limited to 'rt/webrt/Elements/Error')
-rwxr-xr-x | rt/webrt/Elements/Error | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/rt/webrt/Elements/Error b/rt/webrt/Elements/Error new file mode 100755 index 000000000..ec2cf511f --- /dev/null +++ b/rt/webrt/Elements/Error @@ -0,0 +1,23 @@ +<& /Elements/Header, Code => $Code, Why => $Why &> +<& /Elements/Tabs &> +<& /Elements/TitleBoxStart, title => $Title &> +<%$Why%> +<br> +<font size=-1> +<%$Details%> +</font> +<& /Elements/TitleBoxEnd &> +</body> +</HTML> + + +<%args> +$Code => undef +$Details => undef +$Title => "RT Error" +$Why => "the calling component did not specify why" +</%args> + +<%INIT> +$RT::Logger->error("WebRT: $Why ($Details)"); +</%INIT> |