Attempting to interfere with another domain's stream.

#6020   Run-time catchable error

Attempting to interfere with another domain's stream.

Additional Information

For stream 'X'.

Explanation

An open stream may only be written to, opened, closed, reopened, or discarded in the domain in which it was opened.