Skip to content

WorkoutsError — @gj-kit/expo-workouts

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

import { WorkoutsError } from '@gj-kit/expo-workouts';
declare class WorkoutsError extends Error {
readonly code: WorkoutsErrorCode;
readonly retryAfterMs?: number | undefined;
readonly nativeMessage?: string | undefined;
/** 사본 인식 태그 — `isWorkoutsError`의 유일한 판정 근거다. */
readonly [WORKOUTS_ERROR_TAG]: true;
constructor(code: WorkoutsErrorCode, message: string, options?: WorkoutsErrorOptions);
}

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-workouts
  • Version: 0.1.1
  • Public entry: .
  • Source: GitHub