Method

LspDiagnosticget_code

Declaration

const gchar*
lsp_diagnostic_get_code (
  LspDiagnostic* self
)

Description

Gets the value of code.

The diagnostic’s code, which might appear in the user interface.

Return value

Type: const gchar*

The value of code.

The returned data is owned by the instance.
The return value can be NULL.
The value is a NUL terminated UTF-8 string.