Skip to content

Commit 0394872

Browse files
authored
Merge pull request #14 from takker99/type-error
Add `SessionError`
2 parents c2b64fd + 1e7c743 commit 0394872

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

api/error.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,8 @@ export interface NotLoggedInError extends ErrorLike {
3434
)[];
3535
};
3636
}
37+
38+
/** CSRF tokenが不正なときに発生するエラー */
39+
export interface SessionError extends ErrorLike {
40+
name: "SessionError";
41+
}

0 commit comments

Comments
 (0)