UNPKG

@portone/server-sdk

Version:

PortOne JavaScript SDK for server-side usage

15 lines (14 loc) 1.11 kB
import type { Unrecognized } from "../../../utils/unrecognized.js"; import { PlatformError } from "../PlatformError.js"; import type { ForbiddenError } from "../../common/ForbiddenError.js"; import type { InvalidRequestError } from "../../common/InvalidRequestError.js"; import type { PlatformExternalApiFailedError } from "../../platform/PlatformExternalApiFailedError.js"; import type { PlatformExternalApiTemporarilyFailedError } from "../../platform/account/PlatformExternalApiTemporarilyFailedError.js"; import type { PlatformNotEnabledError } from "../../platform/PlatformNotEnabledError.js"; import type { PlatformNotSupportedBankError } from "../../platform/account/PlatformNotSupportedBankError.js"; import type { UnauthorizedError } from "../../common/UnauthorizedError.js"; export declare abstract class AccountError extends PlatformError { readonly data: ForbiddenError | InvalidRequestError | PlatformExternalApiFailedError | PlatformExternalApiTemporarilyFailedError | PlatformNotEnabledError | PlatformNotSupportedBankError | UnauthorizedError | { readonly type: Unrecognized; }; }