scout-soroban
scout-soroban copied to clipboard
Improve `avoid_panic_error` detector
Description
The detector should only be triggered when the panic!(..)
is used in a function whose return type is a Result<(), ()>
Acceptance Criteria
Add test-cases to reflect this improvement