Anything that can occurs when sending request to the API:
github :: GithubAPIError :: defaultinit
github :: GithubAPIError :: requested_uri=
URI that returned the errorgithub :: GithubAPIError :: status_code=
Status code obtainedgithub $ GithubAPIError :: SELF
Type of this instance, automatically specialized in every classserialization :: Serializable :: accept_json_serializer
Refinable service to customize the serialization of this class to JSONserialization :: Serializable :: accept_msgpack_attribute_counter
Hook to customize the behavior of theAttributeCounter
serialization :: Serializable :: accept_msgpack_serializer
Hook to customize the serialization of this class to MessagePackserialization :: Serializable :: add_to_bundle
Called by[]=
to dynamically choose the appropriate method according
core :: Object :: class_factory
Implementation used byget_class
to create the specific class.
serialization :: Serializable :: core_serialize_to
Actual serialization ofself
to serializer
core :: Object :: defaultinit
github :: GithubError :: defaultinit
core :: Error :: defaultinit
github :: GithubAPIError :: defaultinit
serialization :: Serializable :: from_deserializer
Create an instance of this class from thedeserializer
core :: Object :: is_same_instance
Return true ifself
and other
are the same instance (i.e. same identity).
core :: Object :: is_same_serialized
Isself
the same as other
in a serialization context?
core :: Object :: is_same_type
Return true ifself
and other
have the same dynamic type.
serialization :: Serializable :: msgpack_extra_array_items
Hook to request a larger than usual metadata arraycore :: Object :: output_class_name
Display class name on stdout (debug only).github :: GithubAPIError :: requested_uri=
URI that returned the errorserialization :: Serializable :: serialize_msgpack
Serializeself
to MessagePack bytes
serialization :: Serializable :: serialize_to
Serializeself
to serializer
serialization :: Serializable :: serialize_to_json
Serializeself
to JSON
github :: GithubAPIError :: status_code=
Status code obtainedserialization :: Serializable :: to_pretty_json
Serializeself
to plain pretty JSON
Serializer::serialize
# An Error returned by https://api.github.com
#
# Anything that can occurs when sending request to the API:
# * Can't connect to API
# * Ressource not found
# * Validation error
# * ...
class GithubAPIError
super GithubError
# Status code obtained
var status_code: Int
# URI that returned the error
var requested_uri: String
end
lib/github/api.nit:477,1--492,3