I’m implementing error outputting modal in React web app and therefore instead of just using .catch((e) => console.log(e)
I’m planning to pass the error details into a separate component and display 3 parts of this error object: name, message, stack, in separate fields of this component.
I know that standard Error type object has all of those properties, however, I was wondering whether there are some exceptions and some error could be returned without all of these fields?