Skip to content

WorkoutsErrorOptions — @gj-kit/expo-workouts

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

import { WorkoutsErrorOptions } from '@gj-kit/expo-workouts';
interface WorkoutsErrorOptions {
readonly cause?: unknown;
/** Only meaningful with code 'rateLimited'. */
readonly retryAfterMs?: number | undefined;
/**
* A short, TEMPLATE-BUILT diagnostic string from the native layer: exception class name, platform
* error code, and a bounded reason token. NEVER coordinates, heart rates, distances, energies,
* step counts, titles or notes — a source-scan guard enforces this.
*/
readonly nativeMessage?: string | undefined;
}

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