MCPcopy Create free account
hub / github.com/clockwork-xyz/examples / ErrorCode

Enum ErrorCode

subscriptions/programs/subscriptions/src/error.rs:4–11  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2
3#[error_code]
4pub enum ErrorCode {
5 #[msg("Insuffiscient amount to transfer")]
6 InsuffiscientAmount,
7 #[msg("Subscription is inactive")]
8 SubscriptionInactive,
9 #[msg("payer is not the owner of the subscription")]
10 NotOwner,
11}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected