StringException

Exception thrown on errors in std.string functions.

Members

Mixins

__anonymous
mixin basicExceptionCtors

Mixed In Members

From mixin basicExceptionCtors

this
this(string msg, string file, size_t line, Throwable next)
this
this(string msg, Throwable next, string file, size_t line)

Examples

import std.exception : assertThrown;
auto bad = "      a\n\tb\n   c";
assertThrown!StringException(bad.outdent);
Suggestion Box / Bug Report