Perl Diver 2.33
Main Environment Variables Perl Default Values Perl Config - Summary Perl Config - Full Installed Modules List Directory uptime Docs

Module Documentation
Details and documentation about a specific module, including version and documentation (if available). Note that while links to perldoc.com and search.cpan.org are provided, the module may be part of a larger distribution. If you reach a File Not Found page on either site, please try the parent module.

Git::Wrapper::Exception

Name Git::Wrapper::Exception
Version 0.048
Located at /usr/share/perl5
File /usr/share/perl5/Git/Wrapper/Exception.pm
Is Core No
Search CPAN for this module Git::Wrapper::Exception
Documentation Git::Wrapper::Exception
Module Details Git::Wrapper::Exception


NAME

Git::Wrapper::Exception - Exception class for Git::Wrapper


VERSION

version 0.048


SYNOPSIS

A new error object may be generated and thrown as follows:

  die Git::Wrapper::Exception->new(
    output => \@out,   # STDOUT
    error  => \@err,   # STERR
    status => $? >> 8, # git process exist status
  );


METHODS

new

The standard constructor for this class.

error

Returns the full error message reported by the resulting git command sent to STDERR.

output

Returns the full output generated by the git command that is sent to STDOUT.

status

Returns the non-zero exit code reported by git on error.


SEE ALSO

the Git::Wrapper manpage

In particular, see the section on Error handling.


REPORTING BUGS & OTHER WAYS TO CONTRIBUTE

The code for this module is maintained on GitHub, at https://github.com/genehack/Git-Wrapper. If you have a patch, feel free to fork the repository and submit a pull request. If you find a bug, please open an issue on the project at GitHub. (We also watch the http://rt.cpan.org queue for Git::Wrapper, so feel free to use that bug reporting system if you prefer)


AUTHORS


COPYRIGHT AND LICENSE

This software is copyright (c) 2014 by Hans Dieter Pearcey.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

Perl Diver brought to you by ScriptSolutions.com © 1997- 2026