<!-- Public documentation export; not library implementation source. -->
# PineScriptDiagnostic

[Integration guide](https://docs.lumencharts.com/charting-library/reference/compatibility) · [Reference index](https://docs.lumencharts.com/charting-library/api/)

Public contract reference. This declaration describes types and callback shapes; availability is constrained by the linked integration guide and the runtime capability. Legacy product-specific fields are not a promise of implementation.

## code {#code}

```ts
code: string;
```

Use the type signature above and the integration guide for the owning capability.

## column {#column}

```ts
column?: number;
```

Use the type signature above and the integration guide for the owning capability.

## line {#line}

```ts
line?: number;
```

Use the type signature above and the integration guide for the owning capability.

## message {#message}

```ts
message: string;
```

Use the type signature above and the integration guide for the owning capability.

## severity {#severity}

```ts
severity: "error" | "warning";
```

Use the type signature above and the integration guide for the owning capability.

---
Documentation page: https://docs.lumencharts.com/charting-library/api/PineScriptDiagnostic
