# Interface Issue

An issue encountered during SQL analysis (error, warning, or info).

interface Issue {
code: string;
message: string;
severity: Severity;
span?: Span;
statementIndex?: number;
}

- Defined in types.ts:200

##### Index

### Properties

code
message
severity
span?
statementIndex?

## Properties

### code

code: string

Machine-readable issue code

- Defined in types.ts:204

### message

message: string

Human-readable error message

- Defined in types.ts:206

### severity

severity: Severity

Severity level

- Defined in types.ts:202

### `Optional` span

span?: Span

Optional: location in source SQL where issue occurred

- Defined in types.ts:208

### `Optional` statementIndex

statementIndex?: number

Optional: which statement index this issue relates to

- Defined in types.ts:210