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
    | PlatformAdditionalFeePoliciesNotFoundError
    | PlatformAdditionalFixedAmountFeeCurrencyAndSettlementCurrencyMismatchedError
    | PlatformCancelOrderTransfersExistsError
    | PlatformCancellableAmountExceededError
    | PlatformCancellableDiscountAmountExceededError
    | PlatformCancellableDiscountTaxFreeAmountExceededError
    | PlatformCancellableProductQuantityExceededError
    | PlatformCancellationAndPaymentTypeMismatchedError
    | PlatformCancellationNotFoundError
    | PlatformCannotSpecifyTransferError
    | PlatformContractNotFoundError
    | PlatformContractPlatformFixedAmountFeeCurrencyAndSettlementCurrencyMismatchedError
    | PlatformCurrencyNotSupportedError
    | PlatformDiscountSharePoliciesNotFoundError
    | PlatformDiscountSharePolicyIdDuplicatedError
    | PlatformNotEnabledError
    | PlatformOrderDetailMismatchedError
    | PlatformOrderTransferAlreadyCancelledError
    | PlatformPartnerNotFoundError
    | 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