← Standard library

Utf8Error

error Utf8Error
import Utf8Error from Wax;

Reports invalid UTF-8 during strict byte-to-string conversion. The position identifies the first byte where decoding failed.

Utf8Error.wax:5

Inherits from Error. Follow these links for inherited members.

Members

positionfield

public readonly int32 position

Zero-based byte offset at which parsing failed.

Utf8Error.wax:9

constructorconstructor

public constructor (int32 position)

Creates the error with the supplied failure position and diagnostic information.

Utf8Error.wax:14