Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Various error types.
Synopsis
- data TezosClientError
- = UnexpectedClientFailure Int Text Text
- | AlreadyRevealed ImplicitAlias
- | InvalidOperationHash OperationHash
- | CounterIsAlreadyUsed Text Text
- | EConnreset
- | ConfigParseError String
- | TezosClientCryptoParseError Text CryptoParseError
- | TezosClientParseAddressError Text ParseAddressError
- | TezosClientParseFeeError Text Text
- | TezosClientUnexpectedOutputFormat Text
- | CantRevealContract ImplicitAlias
- | ContractSender ContractAddress Text
- | EmptyImplicitContract ImplicitAlias
- | TezosClientUnexpectedSignatureOutput Text
- | TezosClientParseEncryptionTypeError Text Text
- | DuplicateAlias Text
- | ResolveError ResolveError
- data ResolveError where
- REAliasNotFound :: Text -> ResolveError
- REWrongKind :: Alias expectedKind -> Address -> ResolveError
- REAddressNotFound :: KindedAddress kind -> ResolveError
- REAmbiguousAlias :: Text -> [L1Address] -> ResolveError
Documentation
data TezosClientError Source #
A data type for all predicatable errors that can happen during
octez-client
usage.
UnexpectedClientFailure |
|
AlreadyRevealed | Public key of the given address is already revealed. |
| |
InvalidOperationHash OperationHash | Can't wait for inclusion of operation with given hash because the hash is invalid. |
CounterIsAlreadyUsed | Error that indicates when given counter is already used for given contract. |
EConnreset | Network error with which |
ConfigParseError String | A parse error occurred during config parsing. |
TezosClientCryptoParseError Text CryptoParseError |
|
TezosClientParseAddressError Text ParseAddressError |
|
TezosClientParseFeeError Text Text |
|
TezosClientUnexpectedOutputFormat Text |
|
CantRevealContract | Given alias is a contract and cannot be revealed. |
| |
ContractSender ContractAddress Text | Given contract is a source of a transfer or origination operation. |
EmptyImplicitContract | Given alias is an empty implicit contract. |
| |
TezosClientUnexpectedSignatureOutput Text |
|
TezosClientParseEncryptionTypeError Text Text |
|
DuplicateAlias Text | Tried to save alias, but such alias already exists. |
ResolveError ResolveError |
Instances
Exception TezosClientError Source # | |
Show TezosClientError Source # | |
Defined in Morley.Client.TezosClient.Types.Errors showsPrec :: Int -> TezosClientError -> ShowS # show :: TezosClientError -> String # showList :: [TezosClientError] -> ShowS # | |
Buildable TezosClientError Source # | |
Defined in Morley.Client.TezosClient.Types.Errors build :: TezosClientError -> Doc buildList :: [TezosClientError] -> Doc |
data ResolveError where Source #
REAliasNotFound | |
| |
REWrongKind | |
| |
REAddressNotFound | |
| |
REAmbiguousAlias | |
|
Instances
Show ResolveError Source # | |
Defined in Morley.Client.TezosClient.Types.Errors showsPrec :: Int -> ResolveError -> ShowS # show :: ResolveError -> String # showList :: [ResolveError] -> ShowS # | |
Buildable ResolveError Source # | |
Defined in Morley.Client.TezosClient.Types.Errors build :: ResolveError -> Doc buildList :: [ResolveError] -> Doc |