error

Print an error message, increasing the global error count.

  1. void error(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 Loc

location of error

format const(char)*

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

Meta