networkx library

Support for doing something awesome.

More dartdocs go here.

Extensions

EmptyNetworkErrorX on EmptyNetworkError
Extensions that are applied specifically on EmptyNetworkError.
NetworkErrorError on NetworkError<T>
Extensions that are applied specifically on a non-empty NetworkErrors.

Typedefs

EmptyNetworkError = NetworkError<void>
A network error that doesn't contain an API error.
ResponseError<T> = _ApiError<T>
A network error with a response code ranging from 400 to 499. The type contains the response data T.

Exceptions / Errors

NetworkError<T>
Generic network exception.
NetworkException
A marker interface implemented by all network exceptions.
UnexpectedNetworkError
A network exception that should never happen but happened anyway because of a wrong assumptions/usages of a network service or a network error.