Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 17
Implement StellarError #35
Copy link
Copy link
Closed
Labels
GrantFox OSSIssue tracked in GrantFox OSSIssue tracked in GrantFox OSSMaybe RewardedIssue may be eligible for a GrantFox rewardIssue may be eligible for a GrantFox rewardOfficial Campaign | FWC26Campaign: Official Campaign | FWC26Campaign: Official Campaign | FWC26area:errorspriority:p2type:feature
Description
Metadata
Metadata
Assignees
Labels
GrantFox OSSIssue tracked in GrantFox OSSIssue tracked in GrantFox OSSMaybe RewardedIssue may be eligible for a GrantFox rewardIssue may be eligible for a GrantFox rewardOfficial Campaign | FWC26Campaign: Official Campaign | FWC26Campaign: Official Campaign | FWC26area:errorspriority:p2type:feature
Raised when a Stellar/Horizon call fails — rejected transaction, missing trustline, insufficient balance. Should wrap the underlying
stellar_sdkexception and expose the Stellar result code for programmatic handling.Proposed Steps:
StellarError(ShadeError)inerrors.py.stellar_result_code: Optional[str]andoriginal_error: Exception.stellar_sdkexceptions in the Stellar integration layer and re-raise asStellarError.Acceptance Criteria:
StellarErrorwith the Horizon result code.error.original_errorgives access to the rawstellar_sdkexception.StellarErrorwith a descriptive message.