error

Print an error message, increasing the global error count.

  1. void error(Loc loc, const(char)* format, ...)
    extern (C++) nothrow
    static if(__VERSION__ < 2092)
    void
    error
    (
    const ref Loc loc
    ,
    const(char)* format
    ,)
  2. 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