You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can try updating the API Specification:
Open the starknet_api_openrpc.json file at line 3597 and add the necessary details for the contract error. You should update the "CONTRACT_ERROR" section to include fields that provide programmatic access to the error information.
For example:
"CONTRACT_ERROR": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"description": "Error code for the contract error."
},
"message": {
"type": "string",
"description": "Error message for the contract error."
},
// Add other relevant fields as needed
},
"description": "Details of a contract error."
},
Make sure to customize this based on the specific information you want to provide for contract errors.
The text was updated successfully, but these errors were encountered:
You can try updating the API Specification:
Open the starknet_api_openrpc.json file at line 3597 and add the necessary details for the contract error. You should update the "CONTRACT_ERROR" section to include fields that provide programmatic access to the error information.
For example:
"CONTRACT_ERROR": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"description": "Error code for the contract error."
},
"message": {
"type": "string",
"description": "Error message for the contract error."
},
// Add other relevant fields as needed
},
"description": "Details of a contract error."
},
Make sure to customize this based on the specific information you want to provide for contract errors.
The text was updated successfully, but these errors were encountered: