You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is unfortunate when the error message isn't actually printed to stderr, for example in Pluto:
Perhaps it would be better to store data rather than a preformatted message in the ResolverError object, and only format the message in the showerror(io, ::ResolverError) method, with or without color depending on io.
The text was updated successfully, but these errors were encountered:
A
ResolverError
has color hardcoded in the message ifstderr
supports color, as the message is formatted on construction using the following function:Pkg.jl/src/Resolve/graphtype.jl
Lines 571 to 576 in 8b2c0f3
This is unfortunate when the error message isn't actually printed to
stderr
, for example in Pluto:Perhaps it would be better to store data rather than a preformatted message in the
ResolverError
object, and only format the message in theshowerror(io, ::ResolverError)
method, with or without color depending onio
.The text was updated successfully, but these errors were encountered: