Skip to content

Instantly share code, notes, and snippets.

@codedmart
Created May 5, 2015 21:15
Show Gist options
  • Select an option

  • Save codedmart/4e94ec632822a26cac63 to your computer and use it in GitHub Desktop.

Select an option

Save codedmart/4e94ec632822a26cac63 to your computer and use it in GitHub Desktop.
test/Servant/ClientSpec.hs:286:12:
Couldn't match type ‘Method
-> EitherT
ServantError
IO
(Int, ByteString, MediaType, [HTTP.Header], C.Response ByteString)’
with ‘EitherT ServantError IO Person’
Expected type: EitherT ServantError IO Person
:<|> (EitherT ServantError IO ()
:<|> ((String -> EitherT ServantError IO Person)
:<|> (Person -> EitherT ServantError IO Person)))
Actual type: Servant.Client.Client FailApi
In the expression: client failApi baseUrl
In a pattern binding:
(getGet :<|> getDelete :<|> getCapture :<|> getBody)
= client failApi baseUrl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment