Copyright | This file is part of the package themoviedb. It is subject to the license terms in the LICENSE file found in the top-level directory of this distribution and at: https://github.com/pjones/themoviedb No part of this package including this file may be copied modified propagated or distributed except according to the terms contained in the LICENSE file. |
---|---|
License | MIT |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Simple types and synonyms, mostly to make the type signatures easier to read.
Documentation
type LanguageCode = Text Source #
Type for selecting a TMDb language in ISO 639-1 format.
type Body = LByteString Source #
HTTP body.
Possible errors returned by the API.
InvalidKeyError | Missing or invalid API key. Make sure you are using a valid API key issued by https://www.themoviedb.org/faq/api. |
HttpExceptionError HttpException | An exception relating to HTTP was thrown while interacting with the API. |
ServiceError String | The HTTP interaction with the API service did not result in a successful response. Information about the failure is encoded in the String. |
ResponseParseError String (Maybe LByteString) | Invalid or error response from the API. |