Many Exception
subtypes don't accept an error message
#14600
Labels
error handling
Handling of exceptions by Julia or the user
Some error types, like
ErrorException
andArgumentError
accept a string argument, but others (e.g. the ones defined in boot.jl do not.Would a PR be accepted that added optional message fields to these error types? I came across this when throwing an
InexactError
and wanting to describe why the given value didn't fit into my type.The text was updated successfully, but these errors were encountered: