InvalidInputException class

Thrown when a calculator receives an input it cannot work with.

field names the offending parameter and message says what is wrong, for example InvalidInputException(monthlyInvestment: must be greater than 0).

Implemented types

Constructors

InvalidInputException(String field, String message)
Creates an exception for the input called field.
const

Properties

field → String
Name of the invalid parameter.
final
hashCode → int
The hash code for this object.
no setterinherited
message → String
Human readable explanation.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited