Error handling
func throw() {
panic("the error message from the code")
}{
"RequestStatus": "COMPLETED",
"ExecutionResult": "ERROR_SMART_CONTRACT",
"OutputArguments": [
{
"Type": "string",
"Value": "the error message from the code"
}
]
}Last updated