Skip to content

Add AnchorKitError::cache_expired and cache_not_found named constructors #222

Description

@Haroldwonder

Bug Report

ErrorCode::CacheExpired (48) and ErrorCode::CacheNotFound (49) exist in the enum but have no corresponding named constructors on AnchorKitError, unlike all other error codes.

Expected Behavior

AnchorKitError::cache_expired()
AnchorKitError::cache_not_found()

Acceptance Criteria

  • Both named constructors added
  • Covered in test_named_constructors

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave programbugSomething isn't working

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions