Multiple panic! calls in validation code should use panic_with_error! for consistent on-chain error codes.
Multiple panic! calls in validation code should use panic_with_error! for consistent on-chain error codes.