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


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