Create an error log based on a try-error
object.
error_log(x)
x |
|
---|
character
value.
This function checks attr(x, "log")
for a list of SimpleError
objects
that are used to construct the log. If the argument to x
does not
contain this attribute, then the text "No error log available."
is returned.