Git::Raw::Error(3pm)
π Git::Raw::Error β the error class, bestie edition π
okay so real talk: this is Git::Raw::Error, and it's part of the User Contributed Perl Documentation. it's version 0.90. that's it, that's the vibe, let's go β¨
β¨ NAME β¨
Git::Raw::Error β the error class. that's the whole name. iconic, concise, no notes. π
πΈ VERSION πΈ
version 0.90 β write it down, it matters.
π¦ DESCRIPTION π¦
so a Git::Raw::Error represents an error. shocking, i know. π but here's the tea: a Git::Raw::Error can show up in two whole ways β
- it might be the result of a libgit2 error, or
- it might be generated internally because you misused the API π (not judging, we've all been there)
β οΈ WARNING: the API of this module is unstable and may change without warning. and girl, they mean it. any change will be appropriately documented in the changelog, but the API itself is out here living its main character life. so don't get too attached to any one shape. π
π METHODS π
message( )β the error message. the actual words. the text. what it wants to tell you. π£οΈfile( )β the caller file. where this whole situation went down.line( )β the caller line. the exact line number. pinpoint accuracy, we love to see it. π―code( )β the error code. the numeric-ish receipt for what happened. π§Ύcategory( )β the category (class) or source of the error. basically, which department is handling this. π
π CONSTANTS π
these are all the constants, bestie, all of them, no skipping. every single one is here because every single one matters. periodt. π
OKβ no error. the dream. the fantasy. the "nothing is wrong and i am thriving" state. β¨ERRORβ generic error. just... an error. a little guy. no further info. π«ENOTFOUNDβ the eequested object could not be found. π΅οΈ (it's out there somewhere... allegedly)EEXISTSβ the object already exists. it's already here, babes. π―EAMBIGUOUSβ more than one object matches. pick a lane, objects. π΅EBUFSβ output buffer too short to hold data. the buffer said "not today, too much." π€EBAREREPOβ the operation is is not allowed on a bare repository. no bare repos in this house. π«EUNBORNBRANCHβ"HEAD"refers to a branch with no commits. the branch is a baby. it has not been born yet. unborn. πΌEUNMERGEDβ a merge is in progress. hold on, it's merging, give it a sec. β³ENONFASTFORWARDβ reference was not fast-forwardable. bestie it simply could not fast-forward. that's the whole situation. β©π«EINVALIDSPECβ name/ref spec was not in a valid format. the spec is giving "invalid format." πECONFLICTβ checkout conflicts prevented operation. conflict said no. π€ΌELOCKEDβ lock file prevented operation. something locked it. πEMODIFIEDβ reference value does not match expected. it changed. it's not what you thought it was. πEAUTHβ authentication error. you're not on the list, hun. πͺͺECERTIFICATEβ server certificate is invalid. the certificate is invalid, no cap. πβEAPPLIEDβ patch/merge has already been applied. already done. been there. π©ΉEPEELβ the requested peel operation is not possible. no peeling today. πEEOFβ Unepected"EOF". it ended. unexpectedly. the audacity. πEINVALIDβ invalid operation or input. not valid. at all. π·EUNCOMMITTEDβ Uncommited changes in index prevented operation. commit your stuff, bestie!! π (i say this with love)EDIRECTORYβ the operation is not valid for a directory. not for a directory. try something that isn't a directory. πEMERGECONFLICTβ a merge conflict exists and cannot continue. the merge conflict is real and it cannot continue. we're stuck, girl. π₯PASSTHROUGHβ Passthrough. it just passes through. π«Ά
π AUTHOR π
- Alessandro Ghedini <alexbio@cpan.org>
- Jacques Germishuys <jacquesg@cpan.org>
legends, both of them. absolute icons. π
π LICENSE AND COPYRIGHT π
Copyright 2014 Alessandro Ghedini.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.
and that's the whole page, bestie!! π₯³ this lovely little writeup came to you from perl v5.42.3, dated 2026-08-19, and it's the manual for Git::Raw::Error(3pm) β go forth and catch your errors responsibly πβ¨π
π¦ where this page comes from
- ubuntu stonking: libgit-raw-perl 0.90+ds-3build3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms