github-0.14.0: Access to the Github API, v3.

Safe HaskellNone
LanguageHaskell2010

Github.Data.Definitions

Synopsis

Documentation

data Error Source

Errors have been tagged according to their source, so you can more easily dispatch and handle them.

Constructors

HTTPConnectionError SomeException

A HTTP error occurred. The actual caught error is included.

ParseError Text

An error in the parser itself.

JsonError Text

The JSON is malformed or unexpected.

UserError Text

Incorrect input.

Instances

data Contributor Source

Constructors

KnownContributor Int Text (Name Contributor) Text (Id Contributor) Text

An existing Github user, with their number of contributions, avatar URL, login, URL, ID, and Gravatar ID.

AnonymousContributor Int Text

An unknown Github user with their number of contributions and recorded name.