Skip to content

Commit 880e6c4

Browse files
kuldeepaggarwaljosevalim
authored andcommitted
Update the correct output for an exception. (elixir-lang#759)
1 parent 15af9a7 commit 880e6c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

getting-started/basic-operators.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Providing a non-boolean will raise an exception:
3838

3939
```iex
4040
iex> 1 and true
41-
** (ArgumentError) argument error
41+
** (ArgumentError) argument error: 1
4242
```
4343

4444
`or` and `and` are short-circuit operators. They only execute the right side if the left side is not enough to determine the result:

0 commit comments

Comments
 (0)