FormatException class - dart:core library (original) (raw)

Exception thrown when a string or some other data does not have an expected format and cannot be parsed or processed.

Implemented types

Constructors

FormatException([String message = "", dynamic source, int? offset])

Creates a new FormatException with an optional error message.

const

Properties

hashCodeint

The hash code for this object.

no setterinherited

messageString

A message describing the format error.

final

offsetint?

The offset in source where the error was detected.

final

runtimeTypeType

A representation of the runtime type of the object.

no setterinherited

source → dynamic

The actual source input which caused the error.

final

Methods

noSuchMethod(Invocation invocation)→ dynamic

Invoked when a nonexistent method or property is accessed.

inherited

toString()→ String

Returns a description of the format exception.

override

Operators

operator ==(Object other)→ bool

The equality operator.

inherited