#error #solana #error-derive #macro #proc-macro #attributes #macro-derive

macro spl-program-error-derive

Proc-Macro Library for Solana Program error attributes and derive macro

8 releases (4 breaking)

new 0.5.0 Mar 6, 2025
0.4.1 Apr 22, 2024
0.4.0 Mar 28, 2024
0.3.2 Feb 5, 2024
0.1.0 Jun 7, 2023

#17 in #error-derive

Download history 42201/week @ 2024-11-17 38411/week @ 2024-11-24 55240/week @ 2024-12-01 48987/week @ 2024-12-08 42212/week @ 2024-12-15 25834/week @ 2024-12-22 32175/week @ 2024-12-29 52891/week @ 2025-01-05 56143/week @ 2025-01-12 59385/week @ 2025-01-19 61648/week @ 2025-01-26 73583/week @ 2025-02-02 62956/week @ 2025-02-09 51653/week @ 2025-02-16 57143/week @ 2025-02-23 54465/week @ 2025-03-02

231,007 downloads per month
Used in 573 crates (via spl-program-error)

Apache-2.0

20KB
388 lines

Crate defining a procedural macro for building Solana program errors

Dependencies

~0.8–1.4MB
~33K SLoC