DiagnosticReporter.error

Reports an error message.

class DiagnosticReporter
nothrow abstract
bool
error
(
const ref Loc loc
,
const(char)* format
,
va_list args
,
const(char)* p1
,
const(char)* p2
)

Parameters

loc
Type: Loc

Location of error

format
Type: const(char)*

format string for error

args
Type: va_list

printf-style variadic arguments

p1
Type: const(char)*

additional message prefix

p2
Type: const(char)*

additional message prefix

Return Value

Type: bool

false if the message should also be printed to stderr, true otherwise

Meta