Safe Haskell | None |
---|
Data.Git.Error
Description
Error types which may be thrown during Git operations, using
throwIO
.
- data GitException
- = RepositoryNotExist String
- | RepositoryInvalid
- | BlobCreateFailed
- | BlobEmptyCreateFailed
- | TreeCreateFailed
- | TreeBuilderCreateFailed
- | TreeBuilderInsertFailed
- | TreeBuilderWriteFailed
- | TreeLookupFailed
- | TreeCannotTraverseBlob
- | TreeEntryLookupFailed
- | TreeUpdateFailed
- | CommitCreateFailed
- | CommitLookupFailed
- | ReferenceCreateFailed
- | RefCannotCreateFromPartialOid
- | ReferenceLookupFailed
- | ObjectLookupFailed
- | ObjectIdTooLong
- | ObjectRefRequiresFullOid
- | OidCopyFailed
- type Result = Either Text
Documentation
data GitException Source
There is a separate GitException
for each possible failure when
interacting with the Git repository.
Constructors