SensitiveValueProtectorErrorCode — @gj-kit/toss-payments-postgresql
A public type from @gj-kit/toss-payments-postgresql. The signature below is taken directly from the 0.5.1 release declaration.
Verified import example
Section titled “Verified import example”import { SensitiveValueProtectorErrorCode } from '@gj-kit/toss-payments-postgresql';Signature, parameters, and return type
Section titled “Signature, parameters, and return type”/** Stable failure codes of the reference AES-256-GCM protector. */type SensitiveValueProtectorErrorCode =/** The stored string is not a `{ v: 1, alg: 'A256GCM', … }` envelope this protector produced. */'invalid-envelope'/** The envelope names a different `kid` than this protector's `keyId` (or one side has none). */ | 'key-id-mismatch'/** Wrong key, ciphertext moved to another purpose/recordId, or tampered bytes — not distinguished. */ | 'authentication-failed';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.
Release context
Section titled “Release context”- Package:
@gj-kit/toss-payments-postgresql - Version:
0.5.1 - Public entry:
. - Source: GitHub