Module
GraphQL.Client.ErrorBoundary
- Package
- purescript-graphql-client
- Repository
- OxfordAbstracts/purescript-graphql-client
#BoundaryResult Source
data BoundaryResult err aConstructors
Result aError JsonDecodeError err
Instances
(DecodeJson a) => DecodeJson (BoundaryResult Unit a)(DecodeHasura a) => DecodeHasura (BoundaryResult Unit a)Functor (BoundaryResult err)(Eq err, Eq a) => Eq (BoundaryResult err a)Generic (BoundaryResult err a) _(Show err, Show a) => Show (BoundaryResult err a)(PutErrorsInPaths a b) => PutErrorsInPaths (BoundaryResult err a) (BoundaryResult (Array GqlError) b)
#PropPutErrorsInPaths Source
newtype PropPutErrorsInPathsConstructors
Instances
(IsSymbol sym, PutErrorsInPaths a b) => MappingWithIndex PropPutErrorsInPaths (Proxy sym) a b
#PutErrorsInPaths Source
class PutErrorsInPaths a b | a -> b whereMembers
Instances
(PutErrorsInPaths a b) => PutErrorsInPaths (BoundaryResult err a) (BoundaryResult (Array GqlError) b)(PutErrorsInPaths a b) => PutErrorsInPaths (Array a) (Array b)(PutErrorsInPaths a b) => PutErrorsInPaths (Maybe a) (Maybe b)(HMapWithIndex PropPutErrorsInPaths (Record a) (Record b)) => PutErrorsInPaths (Record a) (Record b)(PutErrorsInPaths a b) => PutErrorsInPaths (Either err a) (Either err b)PutErrorsInPaths a a
#decodeWith Source
decodeWith :: forall res m. Applicative m => (Json -> Either JsonDecodeError res) -> Json -> m (BoundaryResult Unit res)#putErrorsInPaths Source
putErrorsInPaths :: forall a b. PutErrorsInPaths a b => Array GqlError -> a -> b#toEither Source
toEither :: forall err a. BoundaryResult err a -> Either err a- Modules
- GraphQL.
Client. Alias - GraphQL.
Client. Alias. Dynamic - GraphQL.
Client. Args - GraphQL.
Client. Args. AllowedMismatch - GraphQL.
Client. ArrayOf - GraphQL.
Client. AsGql - GraphQL.
Client. BaseClients. Affjax. Internal - GraphQL.
Client. BaseClients. Affjax. Node - GraphQL.
Client. BaseClients. Affjax. Web - GraphQL.
Client. BaseClients. Apollo - GraphQL.
Client. BaseClients. Apollo. ErrorPolicy - GraphQL.
Client. BaseClients. Apollo. FetchPolicy - GraphQL.
Client. BaseClients. Urql - GraphQL.
Client. Directive - GraphQL.
Client. Directive. Definition - GraphQL.
Client. Directive. Location - GraphQL.
Client. ErrorBoundary - GraphQL.
Client. GqlError - GraphQL.
Client. GqlType - GraphQL.
Client. ID - GraphQL.
Client. NullArray - GraphQL.
Client. Operation - GraphQL.
Client. Query - GraphQL.
Client. QueryReturns - GraphQL.
Client. SafeQueryName - GraphQL.
Client. Subscription - GraphQL.
Client. ToGqlString - GraphQL.
Client. Types - GraphQL.
Client. Union - GraphQL.
Client. Variable - GraphQL.
Client. Variables - GraphQL.
Client. WatchQuery - GraphQL.
Hasura. ComparisonExp - GraphQL.
Hasura. Decode - GraphQL.
Hasura. DecodeLiberal - GraphQL.
Hasura. Encode