NAME

Git::Native::Error - Exception class for Git::Native

VERSION

version 0.003

SYNOPSIS

use Git::Native::Error;
Git::Native::Error->throw(
  code    => -3,
  klass   => 11,
  message => 'object not found',
);

DESCRIPTION

Throwable exception used by Git::Native when libgit2 reports an error. Attributes mirror the C git_error struct plus the return code.

SUPPORT

Issues

Please report bugs and feature requests on GitHub at https://github.com/Getty/p5-git-native/issues.

CONTRIBUTING

Contributions are welcome! Please fork the repository and submit a pull request.

AUTHOR

Torsten Raudssus <getty@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2026 by Torsten Raudssus <torsten@raudssus.de> https://raudssus.de/.

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