Add error codes for admission checks

This commit is contained in:
Ulf Wiger 2025-10-12 13:41:20 +02:00
parent fabddfecbd
commit a6892ffaca

View File

@ -240,8 +240,11 @@ error_code(unknown_contract ) -> -32004;
error_code(invalid_prefix ) -> -32005;
error_code(invalid_encoding ) -> -32006;
error_code(outdated ) -> -32007;
error_code(solution_mismatch) -> -32008;
error_code(solution_mismatch ) -> -32008;
error_code(invalid_input ) -> -32009;
error_code(session_limit ) -> -32010;
error_code(accounts_limit ) -> -32011;
error_code(duplicate_accounts) -> -32012;
error_code(unknown_method ) -> -32601;
error_code(_ ) -> -32603. % internal error