Skip to content

AuthError — @gj-kit/expo-auth

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

import { AuthError } from '@gj-kit/expo-auth';
/**
* The only error class this library throws for its own misuse conditions. Detect it with
* `isAuthError` — `instanceof` is unreliable across the package's own bundled entries (§3.7).
*/
declare class AuthError extends Error {
readonly code: AuthErrorCode;
constructor(code: AuthErrorCode);
}

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