Skip to content

TossPostgresError — @gj-kit/toss-payments-postgresql

A public class from @gj-kit/toss-payments-postgresql. The signature below is taken directly from the 0.5.1 release declaration.

import { TossPostgresError } from '@gj-kit/toss-payments-postgresql';
/** 이 패키지가 직접 판정한 실패 전용 에러 — code가 공개 계약이다(메시지는 아니다). */
declare class TossPostgresError extends Error {
readonly name = "TossPostgresError";
readonly code: TossPostgresErrorCode;
constructor(code: TossPostgresErrorCode, message: string, options?: {
readonly cause?: unknown;
});
}

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