We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
NotLoggedInError
1 parent aae0953 commit 098660aCopy full SHA for 098660a
api/error.ts
@@ -18,3 +18,19 @@ export interface NotFoundError extends ErrorLike {
18
export interface NotPrivilegeError extends ErrorLike {
19
name: "NotPrivilegeError";
20
}
21
+
22
+/** Loginが必要なAPIをloginせずに叩いたときに発生するエラー */
23
+export interface NotLoggedInError extends ErrorLike {
24
+ name: "NotLoggedInError";
25
+ /** 詳細情報 */ details: {
26
+ /** 使用できるログイン方法 */ loginStrategies: (
27
+ | "google"
28
+ | "github"
29
+ | "microsoft"
30
+ | "gyazo"
31
+ | "email"
32
+ | "saml"
33
+ | "easy-trial"
34
+ )[];
35
+ };
36
+}
0 commit comments