Explorar el Código

add LoginErrorCode

Yohei-Shiina hace 3 años
padre
commit
8d15996f1a
Se han modificado 1 ficheros con 5 adiciones y 0 borrados
  1. 5 0
      packages/app/src/interfaces/errors/login-form-error.ts

+ 5 - 0
packages/app/src/interfaces/errors/login-form-error.ts

@@ -0,0 +1,5 @@
+export const LoginErrorCode = {
+  PROVIDER_DUPLICATED_USERNAME_EXCEPTION: 'ProviderDuplicatedUsernameException',
+} as const;
+
+export type LoginErrorCode = typeof LoginErrorCode[keyof typeof LoginErrorCode];