starknet-io / SNIPs

Starknet Improvement Proposal repository
MIT License
158 stars 99 forks source link

SNIP-64: Custom Errors for Fungible and Non-Fungible Tokens #64

Closed boyuanx closed 10 months ago

boyuanx commented 11 months ago

DIscussion: https://community.starknet.io/t/snip-custom-errors-for-fungible-and-non-fungible-tokens/109592

boyuanx commented 11 months ago

If SNIP-63 passes, this one will be renamed to SNIP-E6093

boyuanx commented 11 months ago

Another point of discussion:

If we think storing error strings is too expensive, we can consider giving them IDs and store that instead.