Net::IMAP::Server::Error - A command which failed catastrophically


Net-IMAP-Server documentation Contained in the Net-IMAP-Server distribution.

Index


Code Index:

NAME

Top

Net::IMAP::Server::Error - A command which failed catastrophically

DESCRIPTION

Top

A subclass of Net::IMAP::Server::Command used when the true command fails to compile or load, for whatever reason. This is intentionally not Net::IMAP::Server::Command::Error, as that would make it available to clients as the ERROR command.

METHODS

Top

run

Produces a server error.


Net-IMAP-Server documentation Contained in the Net-IMAP-Server distribution.

package Net::IMAP::Server::Error;

use warnings;
use strict;

use base qw/Net::IMAP::Server::Command/;

sub run {
    my $self = shift;

    $self->no_command("Server error");
}

1;