Exception: Sdp::TransferExecutionError

Inherits:
Error
  • Object
show all
Defined in:
lib/sdp/errors.rb

Overview

502 / SOLANA_RPC_ERROR carrying the NativeAdapter signature — the FL-11 gate. With FEE_PAYMENT_PROVIDER=native, SDP can build and sign transfers but cannot SUBMIT them; the fix is configuration (run Kora, set FEE_PAYMENT_PROVIDER=kora), so retrying is pointless. A 502 that does NOT match the pattern is a real upstream outage and stays Unavailable —mislabeling an RPC outage as “configure Kora” would be worse than a generic error.

Constant Summary collapse

NATIVE_ADAPTER_PATTERN =

Verified against SDP v0.28: NativeAdapter#signAndSend (apps/sdp-api/src/services/adapters/fee-payment/native/native.adapter.ts) throws:

"NativeAdapter.signAndSend not supported - use KoraAdapter for gasless transactions"

(#signAsFeePayer throws the same shape with its own method name).

/NativeAdapter\.\w+ not supported - use KoraAdapter/

Instance Attribute Summary

Attributes inherited from Error

#code, #details, #http_status, #meta

Method Summary

Methods inherited from Error

#initialize

Constructor Details

This class inherits a constructor from Sdp::Error