UNPKG

@portone/browser-sdk

Version:

PortOne SDK for browser

25 lines (24 loc) 1.05 kB
import { PortOneError } from './index.js'; import { CheckoutServiceErrorCode } from './CheckoutServiceErrorCode.js'; import { GrpcErrorCode } from './GrpcErrorCode.js'; import { TxServiceIssueErrorCode } from './TxServiceIssueErrorCode.js'; export type IssueBillingKeyErrorCode = CheckoutServiceErrorCode | GrpcErrorCode | TxServiceIssueErrorCode; export declare function isIssueBillingKeyError(error: unknown): error is IssueBillingKeyError; export declare class IssueBillingKeyError extends Error implements PortOneError { static [Symbol.hasInstance](instance: unknown): boolean; __portOneErrorType: string; transactionType: "ISSUE_BILLING_KEY"; code: IssueBillingKeyErrorCode; message: string; billingKey?: string; pgCode?: string; pgMessage?: string; constructor({ code, message, billingKey, pgCode, pgMessage, }: { code: IssueBillingKeyErrorCode; message: string; billingKey?: string; pgCode?: string; pgMessage?: string; }); } export default IssueBillingKeyError;