Skip to content

AuthErrorCode — @gj-kit/expo-auth

A public type from @gj-kit/expo-auth. The signature below is taken directly from the 0.1.1 release declaration.

import { AuthErrorCode } from '@gj-kit/expo-auth';
/**
* - `'invalid-key-prefix'`: a key prefix or lock name was empty/whitespace (runtime validation — §4.1-ⓐ).
* - `'session-disposed'`: a session method was called after `dispose()` (§4.1-ⓑ).
*/
type AuthErrorCode = 'invalid-key-prefix' | 'session-disposed';

This declaration is the source of truth for parameters, optionality, generics, return values, and public union/type contracts. Check the package golden path and this subpath’s import conditions for required environment, permission, and error boundaries before calling it.

  • Package: @gj-kit/expo-auth
  • Version: 0.1.1
  • Public entry: .
  • Source: GitHub