DioErrorExtension extension

The DioErrorExtension extension provides a convenient method to convert DioError instances to ServerException.

on
  • DioError

Methods

toServerException() ServerException
Converts the DioError instance to a ServerException instance.