OutOfMemoryError.this

Constructs new error.

  1. this(string msg, string file, size_t line, Throwable next)
    class OutOfMemoryError
    @nogc nothrow pure @safe
    this
    (
    string msg = "Out of memory"
    ,
    string file = __FILE__
    ,
    size_t line = __LINE__
    ,
    Throwable next = null
    )
  2. this(string msg, Throwable next, string file, size_t line)

Parameters

msg string

The message for the exception.

file string

The file where the exception occurred.

line size_t

The line number where the exception occurred.

next Throwable

The previous exception in the chain of exceptions, if any.

Meta