error_handeler_flutter library

Classes

AddressCheckOption
Contains URI to test Internet Connection
CustomSnackbar
A class to desplay snackbar it uses a singleton instance
ErrorResponse
contains details information about Failure of API Request
ErrorResponseHolder
A Class to Hold Error response in Structured manner
Failure<E extends ErrorResponse>
Inherited from Result class This class represent Failed response from the API request
InternetConnectionChecker
A Class to get Information about the Internet and Connection provider
Result<R>
Result class is a Super class of Success and Failure class
Success<R>
Inherit Result class and contains Successfull response of API Reuest
UnifiedHttpClient
A class to provide error Handeling functionality This uses Http as default Scheme and showSnackbar is default set to True When APi call through get method of this class and internet is not available , A sncakbar will appear on the screen Call init method of this class after Materialapp is Initialized and pass parameter to configure as per your choice

Enums

UnifiedHttpClientEnum
Enum class for all the exceptions and statusCodes