summary refs log tree commit diff
path: root/src/util/schemas/responses/APIErrorOrCaptchaResponse.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/schemas/responses/APIErrorOrCaptchaResponse.ts')
-rw-r--r--src/util/schemas/responses/APIErrorOrCaptchaResponse.ts6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/util/schemas/responses/APIErrorOrCaptchaResponse.ts b/src/util/schemas/responses/APIErrorOrCaptchaResponse.ts
new file mode 100644
index 00000000..c9a0e5be
--- /dev/null
+++ b/src/util/schemas/responses/APIErrorOrCaptchaResponse.ts
@@ -0,0 +1,6 @@
+import { APIErrorResponse } from "./APIErrorResponse";
+import { CaptchaRequiredResponse } from "./CaptchaRequiredResponse";
+
+export type APIErrorOrCaptchaResponse =
+	| CaptchaRequiredResponse
+	| APIErrorResponse;