cloud/src/main/java/com/adamg/materialtemplate/cloud/module/RestApiModule.java
@Provides
    @Singleton
    CloudErrorHandler provideCloudErrorHandler() {
        return new CloudErrorHandler();
    }
/**
     * Provides the default implementation for the {@link retrofit.ErrorHandler} for handling the errors
     * that occur on the network
     *
     * @return a new implemented class that allows us to have a coomon error handler
     */
Provides the default implementation for the  retrofit.ErrorHandler for handling the errors
that occur on the network

@return a new implemented class that allows us to have a coomon error handler
Provides the default implementation for the retrofit . ErrorHandler for handling the errors that occur on the network @return a new implemented class that allows us to have a coomon error handler
@Provides
    @Singleton
    CloudErrorHandler provideCloudErrorHandler() {
        return new CloudErrorHandler();
    }
@ Provides @ Singleton CloudErrorHandler provideCloudErrorHandler ( ) { return new CloudErrorHandler ( ) ; }
Provides the default implementation for the {@link retrofit.ErrorHandler} for handling the errors
 that occur on the network
Provides the default implementation for the { @link retrofit . ErrorHandler } for handling the errors that occur on the network