onUnicodeError

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

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

Parameters

msg string

Information about the error.

idx size_t

String index where this error was detected.

file string

The name of the file that signaled this error.

line size_t

The line number on which this error occurred.

Throws

Meta