Skip to content
FutureBlitz

    Install

    Import std.core.error

    ParseError

    std.core.error

    class

    Public Class ParseError Extends Error

    Text that doesn't read as its format, at Line and Column, from 1, or 0 when it isn't known, or a Value that Load<T> can't make a T from, at Path.

    std/core/error.fb, line 174

    • Public ReadOnly Field Kind: ParseErrorKind field #

      What kind of ParseError it is.

    • Public ReadOnly Field Line: Int field #

      The line of what was read where it went wrong, from 1, or 0 when it has no lines.

    • Public ReadOnly Field Column: Int field #

      The column on that line, from 1, or 0.

    • Public New(kind: ParseErrorKind, message: String, line: Int = 0, column: Int = 0, cause: Error? = Null, path: String? = Null) constructor #

      Makes a ParseError of kind that says message, at line and column.

    • Public Property Path: String? property #

      For Load<T>'s: where in the Value it's from, the Field's path, like "options.sizes[2]", or "" for the Value itself. Null for another error.

    Report an issue with this page or with FutureBlitz on GitHub.