Debian Codegraph @

Debconf/Element/Dialog/Error.pm

raw
1 #!/usr/bin/perl
2
3 =head1 NAME
4
5 Debconf::Element::Dialog::Error - An error message in a dialog box
6
7 =cut
8
9 package Debconf::Element::Dialog::Error;
10 use warnings;
11 use strict;
12 use base qw(Debconf::Element);
13
14 =head1 DESCRIPTION
15
16 This is an input element that can display a dialog box with an error message
17 on it.
18
19 =cut
20
21 sub show {
22 my $this=shift;
23
24 $this->frontend->showtext($this->question,
25 $this->question->description."\n\n".
26 $this->question->extended_description
27 );
28 $this->value('');
29 }
30
31 1