error

Print an error message, increasing the global error count.

  1. void error(const ref Loc loc, const(char)* format, ...)
    nothrow extern (C++)
    void
    error
    (
    const ref Loc loc
    ,
    const(char)* format
    ,)
  2. void error(Loc loc, const(char)* format, ...)
  3. void error(const(char)* filename, uint linnum, uint charnum, const(char)* format, ...)

Parameters

loc
Type: Loc

location of error

format
Type: const(char)*

printf-style format specification ... = printf-style variadic arguments

Meta