Package blue. starry. penicillin. core. exceptions
Types
Link copied to clipboard
open class PenicillinException( val localizedString: LocalizedString, val cause: Throwable?, val request: HttpRequest?, val response: HttpResponse?, args: Any?) : RuntimeException
Content copied to clipboard
Base Penicillin exception class. All the exceptions are thrown from Penicillin inherits this class.
Link copied to clipboard
class PenicillinTwitterApiException( val error: TwitterApiError, val request: HttpRequest, val response: HttpResponse) : PenicillinException
Content copied to clipboard
The PenicillinException class which is thrown when Twitter API error occurs.
Link copied to clipboard
class PenicillinTwitterMediaProcessingFailedError( val error: Media.ProcessingInfo.Error, val request: HttpRequest, val response: HttpResponse) : PenicillinException
Content copied to clipboard
The PenicillinException class which is thrown when Twitter API error occurs.
Link copied to clipboard
data class TwitterApiError( val code: Int, val title: String, val description: String, val httpStatusCode: HttpStatusCode?)
Content copied to clipboard
Represents Twitter API error codes. Described in https://developer.twitter.com/en/docs/basics/response-codes.