Skip to content

Commit

Permalink
Merge pull request #5 from Vardan2009/master
Browse files Browse the repository at this point in the history
Updated output in Error Handling page
  • Loading branch information
Almas-Ali authored Jun 2, 2024
2 parents 66c939b + ffa13e8 commit c0fb0f4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/error-handling.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,11 +91,11 @@ raise CustomError("custom-error.rn")

```py
Radiation (most recent call last):
File <stdin>, line 10
FunctionError: Something went wrong in risky_operation
File <stdin>, line 5
FunctionError: Something went wrong in custom-error.rn

raise FunctionError("risky_operation")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
raise CustomError("custom-error.rn")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

```

Expand Down

0 comments on commit c0fb0f4

Please sign in to comment.