Can you catch the error?
julia> try
throw(DomainError(rand(100), "this is the problematic value"))
catch e
e.val
end
100-element Vector{Float64}:
0.5348390850487531
0.9639789979150846
0.9928589887556779
⋮
Can you catch the error?
julia> try
throw(DomainError(rand(100), "this is the problematic value"))
catch e
e.val
end
100-element Vector{Float64}:
0.5348390850487531
0.9639789979150846
0.9928589887556779
⋮