logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

Authors

• Hans Dieter Pearcey <hdp@cpan.org> • Chris Prather <chris@prather.org> • John SJ Anderson <genehack@genehack.org>

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.

Name

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

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)

See Also

Git::Wrapper In particular, see the section on Error handling.

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 );

Version

version 0.048

See Also