Added raise Stream.Failure and Stream.Error on match failure.