From a7f70ac4fcc5436efa2c05bd8dc24cc1de0be877 Mon Sep 17 00:00:00 2001 From: bouzuya Date: Tue, 23 May 2023 23:27:10 +0900 Subject: [PATCH] Add "account already exists" error to AccountError --- lib/account.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/account.ts b/lib/account.ts index 8e2df67..a0ac068 100644 --- a/lib/account.ts +++ b/lib/account.ts @@ -22,6 +22,7 @@ export const protocolVersion = 2; export { AccountEvent }; export type AccountError = + | "account already exists" | "account is deleted" | "account not found" | "amount is empty"