Packages

object GHError extends Serializable

Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. GHError
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. final case class BadRequestError(message: String) extends GHError with Product with Serializable

    Corresponds to a 400 status code.

    Corresponds to a 400 status code.

    message

    that was given in the response body

  2. final case class BasicError(message: String) extends GHError with Product with Serializable

    Exotic error sometimes used by GitHub.

    Exotic error sometimes used by GitHub.

    message

    indicating what happened

  3. sealed trait ErrorCode extends AnyRef
  4. final case class ForbiddenError(message: String, documentation_url: String) extends GHError with Product with Serializable

    Corresponds to a 403 status code

    Corresponds to a 403 status code

    message

    that was given in the response body

    documentation_url

    associated documentation URL for this endpoint

  5. final case class JsonParsingError(message: String, cause: Option[Throwable]) extends GHError with Product with Serializable

    Corresponds to the case when an issue occurred during JSON parsing.

    Corresponds to the case when an issue occurred during JSON parsing.

    message

    indicating what happened

    cause

    root cause

  6. final case class NotFoundError(message: String, documentation_url: String) extends GHError with Product with Serializable

    Corresponds to a 404 status code

    Corresponds to a 404 status code

    message

    that was given in the response body

    documentation_url

    associated documentation URL for this endpoint

  7. final case class RateLimitExceededError(message: String, documentation_url: String) extends GHError with Product with Serializable

    Corresponds to a 423 status code

    Corresponds to a 423 status code

    message

    that was given in the response body

    documentation_url

    associated documentation URL for this endpoint

  8. final case class UnauthorizedError(message: String, documentation_url: String) extends GHError with Product with Serializable

    Corresponds to a 401 status code

    Corresponds to a 401 status code

    message

    that was given in the response body

    documentation_url

    associated documentation URL for this endpoint

  9. final case class UnhandledResponseError(message: String, body: String) extends GHError with Product with Serializable

    Corresponds to a response for which the status code couldn't be handled.

    Corresponds to a response for which the status code couldn't be handled.

    message

    indicating what happened

    body

    of the response

  10. final case class UnprocessableEntity(resource: String, field: String, code: ErrorCode) extends Product with Serializable

    Error given when a 422 status code is returned

    Error given when a 422 status code is returned

    resource

    github resource on which the error occurred (issue, pull request, etc)

    field

    for which the error occurred

    code

    error code to debug the problem

  11. final case class UnprocessableEntityError(message: String, errors: List[UnprocessableEntity]) extends GHError with Product with Serializable

    Corresponds to a 422 status code

    Corresponds to a 422 status code

    message

    that was given in the response body

    errors

    list of validation errors

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  14. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  15. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  16. def toString(): String
    Definition Classes
    AnyRef → Any
  17. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  18. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  19. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  20. object BadRequestError extends Serializable
  21. object BasicError extends Serializable
  22. object ErrorCode
  23. object ForbiddenError extends Serializable
  24. object JsonParsingError extends Serializable
  25. object NotFoundError extends Serializable
  26. object RateLimitExceededError extends Serializable
  27. object UnauthorizedError extends Serializable
  28. object UnprocessableEntity extends Serializable
  29. object UnprocessableEntityError extends Serializable

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped