Base class of every write the client refused before sending it, whether read-only mode (ReadOnlyError) or a write scope (WriteScopeError) blocked it: err instanceof WriteBlockedError matches both.
err instanceof WriteBlockedError
Optional
Base class of every write the client refused before sending it, whether read-only mode (ReadOnlyError) or a write scope (WriteScopeError) blocked it:
err instanceof WriteBlockedErrormatches both.