SensitiveValueProtectorError — @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.
Verified import example
Section titled “Verified import example”import { SensitiveValueProtectorError } from '@gj-kit/toss-payments-postgresql';Signature, parameters, and return type
Section titled “Signature, parameters, and return type”/** * Error thrown by `createAes256GcmSensitiveValueProtector().decrypt`. * * `code` is the public contract; the message is not. Messages never contain key material, * plaintext, or ciphertext. Use `isSensitiveValueProtectorError` instead of `instanceof`. */declare class SensitiveValueProtectorError extends Error { readonly name = "SensitiveValueProtectorError"; readonly code: SensitiveValueProtectorErrorCode; constructor(code: SensitiveValueProtectorErrorCode, 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.
Release context
Section titled “Release context”- Package:
@gj-kit/toss-payments-postgresql - Version:
0.5.1 - Public entry:
. - Source: GitHub