Skip to content

Commit b88f8cb

Browse files
authored
fix error message output in README (#159)
1 parent 0a9ccd9 commit b88f8cb

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -86,11 +86,12 @@ false
8686
When computing the union, the result must also be an interval:
8787
```julia
8888
julia> (0.25..5) (6..7.4)
89-
------ ArgumentError ------------------- Stacktrace (most recent call last)
90-
91-
[1] — union(::IntervalSets.ClosedInterval{Float64}, ::IntervalSets.ClosedInterval{Float64}) at closed.jl:34
92-
93-
ArgumentError: Cannot construct union of disjoint sets.
89+
ERROR: ArgumentError: Cannot construct union of disjoint sets.
90+
Stacktrace:
91+
[1] union(d1::ClosedInterval{Float64}, d2::ClosedInterval{Float64})
92+
@ IntervalSets ~/.julia/dev/IntervalSets/src/interval.jl:127
93+
[2] top-level scope
94+
@ REPL[2]:1
9495
```
9596

9697
### Importing the .. operator

0 commit comments

Comments
 (0)