object GHError extends Serializable
- Alphabetic
- By Inheritance
- GHError
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
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
-
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
- sealed trait ErrorCode extends AnyRef
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- object BadRequestError extends Serializable
- object BasicError extends Serializable
- object ErrorCode
- object ForbiddenError extends Serializable
- object JsonParsingError extends Serializable
- object NotFoundError extends Serializable
- object RateLimitExceededError extends Serializable
- object UnauthorizedError extends Serializable
- object UnprocessableEntity extends Serializable
- object UnprocessableEntityError extends Serializable
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated