Enum wikipedia::Error [−][src]
pub enum Error { HTTPError, IOError(Error), JSONError(Error), JSONPathError, InvalidParameter(String), }
Wikipedia failed to fetch some information
Variants
HTTPError
Some error communicating with the server
IOError(Error)
Error reading response
JSONError(Error)
Failed to parse JSON response
JSONPathError
Missing required keys in the JSON response
InvalidParameter(String)
One of the parameters provided (identified by String
) is invalid