Git::Wr...xception(3)

🌸 NAME 🌸

hiii bestie πŸ’– welcome to the User Contributed Perl Documentation page for Git::Wr...xception(3) β€” yes, that’s the manual name, and the class it’s serving is Git::Wrapper::Exception.

Git::Wrapper::Exception is the exception class for Git::Wrapper, periodt. πŸ‘‘


✨ VERSION ✨

version 0.048 β€” that’s the version, no cap. πŸŽ€


πŸŽ€ SYNOPSIS πŸŽ€

you can generate and throw a fresh error object like this:

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. iconic behavior, honestly. ✨

😭 error

returns the full error message reported by the resulting git command sent to STDERR. yes, the whole dramatic message. πŸ’€

πŸ¦‹ output

returns the full output generated by the git command that is sent to STDOUT. all the receipts. 🫢

πŸ”₯ status

returns the non-zero exit code reported by git on error. not zero, bestie β€” that’s the whole point. πŸ’…


πŸ‘€ SEE ALSO πŸ‘€

🫢 Git::Wrapper

in particular, see the section on Error handling. iykyk. 🌈


πŸ› 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 πŸ‘‘

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

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. πŸ§šπŸ’œ


okay that’s the whole page, bestie! this Git::Wr...xception(3) moment was brought to you by perl v5.42.0 and dated 2019-03-29 β€” mwah πŸ’‹πŸ’–

πŸ“¦ where this page comes from