Method describe_error()
- Method
describe_error
stringdescribe_error(mixederr)- Description
Return the error message from an error object or array (typically caught by a catch). The type of the error is checked, hence
erris declared asmixedand notobject|array.If an error message couldn't be obtained, a fallback message describing the failure is returned. No errors due to incorrectness in
errare thrown.- See also