NAME

Ubic::Result - common return value for many ubic interfaces

SYNOPSIS

use Ubic::Result qw(:all);

sub start {
    ...
    return result('broken', 'permission denied');
    ...
    return result('running');
    ...
    return 'already running';
}

FUNCTIONS

result($type, $optional_message)

Construct Ubic::Result::Class instance.

SEE ALSO

Ubic::Result::Class - result instance.