Exception thrown on errors in std.string functions.
import std.exception : assertThrown; auto bad = " a\n\tb\n c"; assertThrown!StringException(bad.outdent);
See Implementation
Exception thrown on errors in std.string functions.