Skip to content

Commit

Permalink
Add the shell prompt/command to custom-errors.sh (#519)
Browse files Browse the repository at this point in the history
* Add the shell promt/command to custom-errors.sh

* Add prompt/command to errors example

---------

Co-authored-by: John <john@Slate.local>
  • Loading branch information
johnd and John committed Mar 28, 2024
1 parent bee6d2d commit f8d6019
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
3 changes: 2 additions & 1 deletion examples/custom-errors/custom-errors.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
$ go run custom-errors.sh
42
can't work with it
can't work with it
1 change: 1 addition & 0 deletions examples/errors/errors.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
$ go run errors.sh
f worked: 10
f failed: can't work with 42
Tea is ready!
Expand Down
3 changes: 2 additions & 1 deletion public/custom-errors

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion public/errors

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit f8d6019

Please sign in to comment.