improve error code reference (#1454)

This commit is contained in:
Paul 2022-02-16 16:11:12 +01:00 committed by GitHub
parent 1f56a62bab
commit 2d9209ba33
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -10,6 +10,7 @@ pub const ERROR_CODE_OFFSET: u32 = 6000;
/// - >= 2000 constraint error codes
/// - >= 3000 account error codes
/// - = 4000 state error code
/// - >= 4100 misc error codes
/// - = 5000 deprecated error code
///
/// The starting point for user-defined errors is defined