@portone/browser-sdk
Version:
PortOne SDK for browser
18 lines (17 loc) • 802 B
TypeScript
import { PortOneError } from './index.js';
import { CheckoutServiceErrorCode } from './CheckoutServiceErrorCode.js';
import { GrpcErrorCode } from './GrpcErrorCode.js';
import { TxServicePayErrorCode } from './TxServicePayErrorCode.js';
export type LoadPaymentUIErrorCode = CheckoutServiceErrorCode | GrpcErrorCode | TxServicePayErrorCode;
export declare function isLoadPaymentUIError(error: unknown): error is LoadPaymentUIError;
export declare class LoadPaymentUIError extends Error implements PortOneError {
static [Symbol.hasInstance](instance: unknown): boolean;
__portOneErrorType: string;
transactionType: "PAYMENT";
code: LoadPaymentUIErrorCode;
message: string;
constructor({ code, message, }: {
code: LoadPaymentUIErrorCode;
message: string;
});
}