OwmApiException class

Custom Exception for the Open Weather.

Thrown whenever the API responds with an error and body could not be parsed.

Implemented types

Constructors

OwmApiException(int code, String message)
const
OwmApiException.error(Object error, StackTrace stackTrace)

Properties

code int
Code api error.
final
hashCode int
The hash code for this object.
no setterinherited
message String
Message about error.
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