DioErrorExtension extension

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

on
  • DioError

Methods

toServerException() ServerException

Available on DioError, provided by the DioErrorExtension extension

Converts the DioError instance to a ServerException instance.