Skip to content

Commit

Permalink
fix hints
Browse files Browse the repository at this point in the history
  • Loading branch information
0xNeshi committed Nov 12, 2024
1 parent 14697eb commit b449311
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions exercises/concept/calculator-conundrum/.docs/hints.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@

## 3. Handle no operation provided

- You need to [panic][panic-macro] here to handle division by zero.
- You need to [panic][panic-excl-macro] here with a `ByteArray` message to handle empty strings for operations.

## 4. Handle errors when dividing by zero

- You need to panic here with a `ByteArray` message to handle division by zero.
- You need to panic here to handle division by zero.

[unrecoverable]: https://book.cairo-lang.org/ch09-01-unrecoverable-errors-with-panic.html#unrecoverable-errors-with-panic
[panic-excl-macro]: https://book.cairo-lang.org/ch09-01-unrecoverable-errors-with-panic.html#panic-macro
Expand Down

0 comments on commit b449311

Please sign in to comment.