onUnicodeError

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

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

Parameters

msg
Type: string

Information about the error.

idx
Type: size_t

String index where this error was detected.

file
Type: string

The name of the file that signaled this error.

line
Type: size_t

The line number on which this error occurred.

Throws

Suggestion Box / Bug Report