onUnicodeError

fnnoreturn onUnicodeError( string msg, size_t idx, string file = __FILE__, size_t line = __LINE__ ) @safe pure

A callback for unicode errors in D. A UnicodeException will be thrown.

Parameters

msgInformation about the error.
idxString index where this error was detected.
fileThe name of the file that signaled this error.
lineThe line number on which this error occurred.

Throws