1Git::Wrapper::ExceptionU(s3e)r Contributed Perl DocumentaGtiito:n:Wrapper::Exception(3)
2
3
4

NAME

6       Git::Wrapper::Exception - Exception class for Git::Wrapper
7

VERSION

9       version 0.048
10

SYNOPSIS

12       A new error object may be generated and thrown as follows:
13
14         die Git::Wrapper::Exception->new(
15           output => \@out,   # STDOUT
16           error  => \@err,   # STERR
17           status => $? >> 8, # git process exist status
18         );
19

METHODS

21   new
22       The standard constructor for this class.
23
24   error
25       Returns the full error message reported by the resulting git command
26       sent to "STDERR".
27
28   output
29       Returns the full output generated by the git command that is sent to
30       "STDOUT".
31
32   status
33       Returns the non-zero exit code reported by git on error.
34

SEE ALSO

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

REPORTING BUGS & OTHER WAYS TO CONTRIBUTE

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

AUTHORS

48       ·   Hans Dieter Pearcey <hdp@cpan.org>
49
50       ·   Chris Prather <chris@prather.org>
51
52       ·   John SJ Anderson <genehack@genehack.org>
53
55       This software is copyright (c) 2014 by Hans Dieter Pearcey.
56
57       This is free software; you can redistribute it and/or modify it under
58       the same terms as the Perl 5 programming language system itself.
59
60
61
62perl v5.28.1                      2018-03-29        Git::Wrapper::Exception(3)
Impressum