Remove error calls and replace with working implementations of ToHttpApiData

This commit is contained in:
Alex Mason 2016-09-03 00:23:21 +10:00
parent dbab31508e
commit 3e704362c3

View File

@ -40,8 +40,8 @@ data TestHeader
instance ToHttpApiData TestHeader where
toHeader = toHeader . show
toUrlPiece _ = error "ToHttpApiData.toUrlPiece not implemented for TestHeader"
toQueryParam _ = error "ToHttpApiData.toQueryParam not implemented for TestHeader"
toUrlPiece = toUrlPiece . show
toQueryParam = toQueryParam . show
instance Arbitrary TestHeader where