This PR simply copies the error types from reason-apollo into ApolloHooksTypes.re. I could have just used ReasonApolloTypes.apolloError, but thought it best to not create another dependency between reason-apollo-hooks and reason-apollo.
I decided against converting the deeper js types to reason, but let me know if that's preferred and I'll update this.
This PR simply copies the error types from
reason-apollo
intoApolloHooksTypes.re
. I could have just usedReasonApolloTypes.apolloError
, but thought it best to not create another dependency betweenreason-apollo-hooks
andreason-apollo
.I decided against converting the deeper js types to reason, but let me know if that's preferred and I'll update this.