docs: add missing 'new' operator for thrown error
Merge pull request #502 from jmstout/docs(plugin)/dealing-with-streams

docs: add missing 'new' operator for thrown error