Search notes:

System.Management.Automation.StopUpstreamException (internal class)

System.Management.Automation.StopUpstreamException inherits from System.Management.Automation.FlowControlException.
When a cmdlet throws a StopUpstreamException exception, the runtime will call StopProcessing() on the preceding commands, yet without without terminating the entire pipeline.
This behavior is used for example when involving a select-object -first … in a pipeline, see also this Stackoverflow answer.

Links

Source code on github

Index