Skip to content

Add SDK error code mapping for insurance pool #461

Description

@Levi-Ojukwu

Description:

The SDK's ILNErrorCode enum does not include insurance pool error codes.

Acceptance Criteria:

  • Add InsuranceNotInitialized, InsuranceAlreadyClaimed, InsuranceInvalidAmount, InsurancePoolEmpty, InsuranceAlreadyInitialized to ILNErrorCode
  • Update error handling in SDK methods

Relevant Files: sdk/src/errors.ts, contracts/insurance_pool/src/lib.rs:33-46


Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions