FormatException

Signals an issue encountered while formatting.

Constructors

this
this()

Generic constructor.

this
this(string msg, string fn, size_t ln, Throwable next)

Creates a new instance of FormatException.

Examples

import std.exception : assertThrown;

assertThrown!FormatException(format("%d", "foo"));

Meta