error

Same as above, but takes a filename and line information arguments as separate parameters.

  1. void error(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, ...)
    nothrow extern (C++)
    static if(__VERSION__ < 2092)
    void
    error
    (
    const(char)* filename
    ,
    uint linnum
    ,
    uint charnum
    ,
    const(char)* format
    ,)
  4. void error(const(char)* filename, uint linnum, uint charnum, const(char)* format, ...)

Parameters

filename const(char)*

source file of error

linnum uint

line in the source file

charnum uint

column number on the line

format const(char)*

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

Meta