This repository was archived by the owner on Mar 11, 2025. It is now read-only.
SPL Program Error - v0.3.0
·
1979 commits
to master
since this release
What's Changed
- SPL errors from hashes by @buffalojoec in #5169
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