Skip to content
This repository was archived by the owner on Mar 11, 2025. It is now read-only.

SPL Program Error - v0.3.0

Compare
Choose a tag to compare
@joncinque joncinque released this 01 Sep 20:50
· 1979 commits to master since this release
f35dc5f

What's Changed

Now it's possible to specify a hash value to make your error codes unique, to avoid clashing with other error types, e.g.:

#[spl_program_error(hash_error_code_start = 1_000)]

Where hash_error_code_start will be unique based on your error name.

New Contributors

Full Changelog: program-error-v0.2.0...program-error-v0.3.0