Type guard for EventSourceUnavailableError.
Falls back to the name because a custom error crossing the service-worker postMessage boundary arrives as a plain Error — the same reason ProviderUnavailableError keeps its state in the message.
name
postMessage
Error
ProviderUnavailableError
Type guard for EventSourceUnavailableError.
Falls back to the
namebecause a custom error crossing the service-workerpostMessageboundary arrives as a plainError— the same reasonProviderUnavailableErrorkeeps its state in the message.