# `IgniterCss.Diagnostic`
[🔗](https://github.com/ash-project/igniter_css/blob/v1.1.2/lib/igniter_css/structs.ex#L132)

One reason CSS is not valid, placed in the text that was checked.

`line` and `column` are 1-based, the column counted in characters. `offset` is
the byte offset of `text`, the part of the source the error is about; `text`
is empty when the error is about the end of the source.

# `t`

```elixir
@type t() :: %IgniterCss.Diagnostic{
  column: pos_integer(),
  line: pos_integer(),
  message: String.t(),
  offset: non_neg_integer(),
  text: String.t()
}
```

---

*Consult [api-reference.md](api-reference.md) for complete listing*
