From 8eeb26e20ce82bda4ad26c86faabd7558859e915 Mon Sep 17 00:00:00 2001 From: Allan Galarza Date: Tue, 13 Jun 2023 19:08:49 -0700 Subject: [PATCH] API dump --- rest/api/rest.api | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/rest/api/rest.api b/rest/api/rest.api index 0f8909caccb..9db4c1b08ce 100644 --- a/rest/api/rest.api +++ b/rest/api/rest.api @@ -5952,6 +5952,14 @@ public final class dev/kord/rest/ratelimit/Total { public final synthetic fun unbox-impl ()J } +public final class dev/kord/rest/request/BadRequestKtorRequestException : dev/kord/rest/request/KtorRequestException { + public fun (Lio/ktor/client/statement/HttpResponse;Ldev/kord/rest/request/Request;Ldev/kord/rest/json/response/DiscordErrorResponse;)V +} + +public final class dev/kord/rest/request/ForbiddenKtorRequestException : dev/kord/rest/request/KtorRequestException { + public fun (Lio/ktor/client/statement/HttpResponse;Ldev/kord/rest/request/Request;Ldev/kord/rest/json/response/DiscordErrorResponse;)V +} + public final class dev/kord/rest/request/HttpStatus { public fun (ILjava/lang/String;)V public final fun component1 ()I @@ -5994,7 +6002,7 @@ public final class dev/kord/rest/request/JsonRequest : dev/kord/rest/request/Req public fun getRouteParams ()Ljava/util/Map; } -public final class dev/kord/rest/request/KtorRequestException : dev/kord/rest/request/RestRequestException { +public class dev/kord/rest/request/KtorRequestException : dev/kord/rest/request/RestRequestException { public fun (Lio/ktor/client/statement/HttpResponse;Ldev/kord/rest/request/Request;Ldev/kord/rest/json/response/DiscordErrorResponse;)V public final fun getHttpResponse ()Lio/ktor/client/statement/HttpResponse; } @@ -6025,6 +6033,10 @@ public final class dev/kord/rest/request/MultipartRequest : dev/kord/rest/reques public fun getRouteParams ()Ljava/util/Map; } +public final class dev/kord/rest/request/NotFoundKtorRequestException : dev/kord/rest/request/KtorRequestException { + public fun (Lio/ktor/client/statement/HttpResponse;Ldev/kord/rest/request/Request;Ldev/kord/rest/json/response/DiscordErrorResponse;)V +} + public abstract class dev/kord/rest/request/Request { public synthetic fun (Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V public synthetic fun (Ljava/lang/String;Lkotlin/jvm/internal/DefaultConstructorMarker;)V @@ -6121,6 +6133,10 @@ public abstract class dev/kord/rest/request/RestRequestException : dev/kord/comm public final fun getStatus ()Ldev/kord/rest/request/HttpStatus; } +public final class dev/kord/rest/request/ServerErrorKtorRequestException : dev/kord/rest/request/KtorRequestException { + public fun (Lio/ktor/client/statement/HttpResponse;Ldev/kord/rest/request/Request;Ldev/kord/rest/json/response/DiscordErrorResponse;)V +} + public final class dev/kord/rest/request/StackTraceRecoveringKtorRequestHandler : dev/kord/rest/request/RequestHandler { public fun (Ldev/kord/rest/request/KtorRequestHandler;)V public fun getToken ()Ljava/lang/String;