Class PlatformErrorAbstract

Hierarchy (View Summary)

Properties

prepareStackTrace?: (err: Error, stackTraces: CallSite[]) => any

Optional override for formatting stack traces

stackTraceLimit: number
cause?: unknown
name: string
message: string
stack?: string
data:
    | ForbiddenError
    | InvalidRequestError
    | PlatformAccountVerificationAlreadyUsedError
    | PlatformAccountVerificationFailedError
    | PlatformAccountVerificationNotFoundError
    | PlatformAdditionalFeePoliciesNotFoundError
    | PlatformAdditionalFeePolicyAlreadyExistsError
    | PlatformAdditionalFeePolicyNotFoundError
    | PlatformAdditionalFeePolicyScheduleAlreadyExistsError
    | PlatformAdditionalFixedAmountFeeCurrencyAndSettlementCurrencyMismatchedError
    | PlatformArchivedAdditionalFeePolicyError
    | PlatformArchivedContractError
    | PlatformArchivedDiscountSharePolicyError
    | PlatformArchivedPartnerError
    | PlatformArchivedPartnersCannotBeScheduledError
    | PlatformCancelOrderTransfersExistsError
    | PlatformCancellableAmountExceededError
    | PlatformCancellableDiscountAmountExceededError
    | PlatformCancellableDiscountTaxFreeAmountExceededError
    | PlatformCancellableProductQuantityExceededError
    | PlatformCancellationAndPaymentTypeMismatchedError
    | PlatformCancellationNotFoundError
    | PlatformCannotArchiveScheduledAdditionalFeePolicyError
    | PlatformCannotArchiveScheduledContractError
    | PlatformCannotArchiveScheduledDiscountSharePolicyError
    | PlatformCannotArchiveScheduledPartnerError
    | PlatformCannotSpecifyTransferError
    | PlatformCompanyNotFoundError
    | PlatformCompanyVerificationAlreadyUsedError
    | PlatformContractAlreadyExistsError
    | PlatformContractNotFoundError
    | PlatformContractPlatformFixedAmountFeeCurrencyAndSettlementCurrencyMismatchedError
    | PlatformContractScheduleAlreadyExistsError
    | PlatformContractsNotFoundError
    | PlatformCurrencyNotSupportedError
    | PlatformDiscountSharePoliciesNotFoundError
    | PlatformDiscountSharePolicyAlreadyExistsError
    | PlatformDiscountSharePolicyIdDuplicatedError
    | PlatformDiscountSharePolicyNotFoundError
    | PlatformDiscountSharePolicyScheduleAlreadyExistsError
    | PlatformExternalApiFailedError
    | PlatformExternalApiTemporarilyFailedError
    | PlatformInsufficientDataToChangePartnerTypeError
    | PlatformInvalidSettlementFormulaError
    | PlatformMemberCompanyConnectedPartnerBrnUnchangeableError
    | PlatformMemberCompanyConnectedPartnerCannotBeScheduledError
    | PlatformMemberCompanyConnectedPartnerTypeUnchangeableError
    | PlatformMemberCompanyConnectedPartnersCannotBeScheduledError
    | PlatformNotEnabledError
    | PlatformNotSupportedBankError
    | PlatformOrderDetailMismatchedError
    | PlatformOrderTransferAlreadyCancelledError
    | PlatformPartnerIdAlreadyExistsError
    | PlatformPartnerIdsAlreadyExistError
    | PlatformPartnerIdsDuplicatedError
    | PlatformPartnerNotFoundError
    | PlatformPartnerScheduleAlreadyExistsError
    | PlatformPartnerSchedulesAlreadyExistError
    | PlatformPaymentNotFoundError
    | PlatformProductIdDuplicatedError
    | PlatformProductIdNotFoundError
    | PlatformSettlementAmountExceededError
    | PlatformSettlementCancelAmountExceededPortOneCancelError
    | PlatformSettlementParameterNotFoundError
    | PlatformSettlementPaymentAmountExceededPortOnePaymentError
    | PlatformSettlementSupplyWithVatAmountExceededPortOnePaymentError
    | PlatformSettlementTaxFreeAmountExceededPortOnePaymentError
    | PlatformTransferAlreadyExistsError
    | PlatformTransferDiscountSharePolicyNotFoundError
    | PlatformTransferNonDeletableStatusError
    | PlatformTransferNotFoundError
    | PlatformUserDefinedPropertyNotFoundError
    | UnauthorizedError
    | { type: typeof Unrecognized }

Methods

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • OptionalconstructorOpt: Function

    Returns void