Skip to content
FutureBlitz

    Install

    Import std.core.error

    ArgumentError

    std.core.error

    class

    Public Class ArgumentError Extends Error

    A program's arguments, or another function's, that it can't take. Name is the argument's, when there is one.

    std/core/error.fb, line 95

    • Public ReadOnly Field Kind: ArgumentErrorKind field #

      What kind of argument it can't take.

    • Public ReadOnly Field Name: String? field #

      The argument's name, or Null when it has none.

    • Public New(kind: ArgumentErrorKind, message: String, name: String? = Null, cause: Error? = Null) constructor #

      Makes an ArgumentError of kind that says message, about the argument name.

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