# strict

> Documentation index: http://docs.tenzir.com/llms.txt

Treats all warnings as errors.

```tql
strict { … }
```

## Description

The `strict` operator takes a pipeline as an argument and treats all warnings emitted by the execution of the pipeline as errors. This is useful when you want to stop a pipeline on warnings or unexpected diagnostics.

## Examples

### Stop the pipeline on any warnings when sending logs

```tql
subscribe "log-feed"
strict {
  to_google_cloud_logging …
}
```

## See Also

* [`assert`](http://docs.tenzir.com/reference/operators/assert.md)
* [Learn idiomatic TQL](http://docs.tenzir.com/tutorials/learn-idiomatic-tql.md)