The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Git::Raw::Error - Error class

VERSION

version 0.76

DESCRIPTION

A Git::Raw::Error represents an error. A Git::Raw::Error may be the result of a libgit2 error, or may be generated internally due to misuse of the API.

WARNING: The API of this module is unstable and may change without warning (any change will be appropriately documented in the changelog).

METHODS

message( )

Error message.

file( )

Caller file.

line( )

Caller line.

code( )

Error code.

category( )

The category (class) or source of the error.

CONSTANTS

OK

No error.

ERROR

Generic error.

ENOTFOUND

The eequested object could not be found.

EEXISTS

The object already exists.

EAMBIGUOUS

More than one object matches.

EBUFS

Output buffer too short to hold data.

EBAREREPO

The operation is is not allowed on a bare repository.

EUNBORNBRANCH

HEAD refers to a branch with no commits.

EUNMERGED

A merge is in progress.

ENONFASTFORWARD

Reference was not fast-forwardable.

EINVALIDSPEC

Name/ref spec was not in a valid format.

ECONFLICT

Checkout conflicts prevented operation.

ELOCKED

Lock file prevented operation.

EMODIFIED

Reference value does not match expected.

EAUTH

Authentication error.

ECERTIFICATE

Server certificate is invalid.

EAPPLIED

Patch/merge has already been applied.

EPEEL

The requested peel operation is not possible.

EEOF

Unepected EOF.

EINVALID

Invalid operation or input.

EUNCOMMITTED

Uncommited changes in index prevented operation.

EDIRECTORY

The operation is not valid for a directory.

EMERGECONFLICT

A merge conflict exists and cannot continue.

PASSTHROUGH

Passthrough

AUTHOR

Alessandro Ghedini <alexbio@cpan.org>

Jacques Germishuys <jacquesg@striata.com>

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.