ModelState.error

Writes an error to the error sink.

  1. void error(nstring msg, const(char)* file, uint line)
  2. void error(const(char)* msg, const(char)* file, uint line)
    struct ModelState
    @nogc pragma(inline, true)
    void
    error
    (
    const(char)* msg
    ,
    const(char)* file = __MODULE__.ptr
    ,
    uint line = __LINE__
    )

Parameters

msg const(char)*

The message.

file const(char)*

The file the error occured in.

line uint

The line of the file the error occured in.

Meta