Skip to content

SdkError — @gj-kit/toss-payments

A public interface from @gj-kit/toss-payments/browser. The signature below is taken directly from the 0.6.1 release declaration.

import { SdkError } from '@gj-kit/toss-payments/browser';
/** SDK 호출이 던진 예외의 {code, message} 회수 형태. */
interface SdkError {
readonly kind: 'sdk';
readonly code: string;
readonly message: string;
}

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/toss-payments
  • Version: 0.6.1
  • Public entry: ./browser
  • Source: GitHub