| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Unison.Share.Sync.Types
Description
Types used by the UCM client during sync.
Synopsis
- data CodeserverTransportError
- data GetCausalHashByPathError
- data PullError
- data SyncError e
Documentation
data CodeserverTransportError Source #
Generic Codeserver transport errors
Constructors
| DecodeFailure Text Response | |
| PermissionDenied Text | |
| RateLimitExceeded | |
| Timeout | |
| Unauthenticated BaseUrl | |
| UnexpectedResponse Response | |
| UnreachableCodeserver BaseUrl | |
| StreamingError Text |
Instances
| Exception CodeserverTransportError Source # | |
Defined in Unison.Share.Sync.Types | |
| Show CodeserverTransportError Source # | |
Defined in Unison.Share.Sync.Types Methods showsPrec :: Int -> CodeserverTransportError -> ShowS # show :: CodeserverTransportError -> String # showList :: [CodeserverTransportError] -> ShowS # | |
data GetCausalHashByPathError Source #
An error occurred when getting causal hash by path.
Constructors
| GetCausalHashByPathErrorNoReadPermission Path | The user does not have permission to read this path. |
| GetCausalHashByPathErrorInvalidRepoInfo Text RepoInfo | The repo info was invalid. (err, repoInfo) |
| GetCausalHashByPathErrorUserNotFound RepoInfo | The user was not found. |
Instances
| Show GetCausalHashByPathError Source # | |
Defined in Unison.Share.Sync.Types Methods showsPrec :: Int -> GetCausalHashByPathError -> ShowS # show :: GetCausalHashByPathError -> String # showList :: [GetCausalHashByPathError] -> ShowS # | |
An error occurred while pulling code from Unison Share.