Skip to content

Commit 443f44b

Browse files
authored
Merge pull request #69 from OpenZeppelin/update-error-codes-stellar
update the error codes after the refactor
2 parents ea9a014 + 0ee9812 commit 443f44b

File tree

1 file changed

+12
-7
lines changed

1 file changed

+12
-7
lines changed

content/stellar-contracts/index.mdx

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,19 +30,24 @@ we use the following convention:
3030

3131
* Fungible: `1XX`
3232
* Non-Fungible: `2XX`
33+
* RWA: `3XX`
34+
* Vault: `4XX`
3335

34-
Any future tokens will continue from `4XX`, `5XX`, and so on.
36+
Any future tokens will continue from `5XX`, `6XX`, and so on.
37+
38+
Similarly, utilities and other modules have their own error codes:
3539

3640
* Utilities: `1XXX`
3741
* Pausable: `10XX`
3842
* Upgradeable: `11XX`
39-
* Access: `12XX`
40-
* Role Transfer (internal common module for 2-step role transfer): `120X`
41-
* Access Control: `121X`
42-
* Ownable: `122X`
4343
* Merkle Distributor: `13XX`
44-
45-
Any future utilities will continue from `14XX`, `15XX`, and so on.
44+
* Crypto: `14XX`
45+
* Math: `15XX`
46+
* Access: `2XXX`
47+
* Access Control: `20XX`
48+
* Ownable: `21XX`
49+
* Role Transfer (internal common module for 2-step role transfer): `22XX`
50+
* Accounts: `3XXX`
4651

4752
## Important Notes
4853
As a deliberate design choice, this library manages the TTL for temporary and persistent storage items.

0 commit comments

Comments
 (0)