{-# LANGUAGE DeriveDataTypeable #-}-- | Error types which may be thrown during Git operations, using-- 'Control.Exception.throwIO'.moduleData.Git.Error(GitException(..),Result)whereimportControl.ExceptionimportData.TypeableimportData.TextimportPreludehiding(FilePath)-- | There is a separate 'GitException' for each possible failure when-- interacting with the Git repository.dataGitException=RepositoryNotExistString|RepositoryInvalid|BlobCreateFailed|BlobEmptyCreateFailed|TreeCreateFailed|TreeBuilderCreateFailed|TreeBuilderInsertFailed|TreeBuilderWriteFailed|TreeLookupFailed|TreeCannotTraverseBlob|TreeEntryLookupFailed|CommitCreateFailed|CommitLookupFailed|ReferenceCreateFailed|RefCannotCreateFromPartialOid|ReferenceLookupFailed|ObjectLookupFailed|ObjectIdTooLong|ObjectRefRequiresFullOid|OidCopyFailedderiving(Show,Typeable)typeResult=EitherTextinstanceExceptionGitException-- Error.hs