error

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

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

Parameters

filename
Type: const(char)*

source file of error

linnum
Type: uint

line in the source file

charnum
Type: uint

column number on the line

format
Type: const(char)*

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

Meta