     /// Handles errors which occur during fetching a resource.
     ///
     /// - Parameter error: the error which occurs.
-    func loadDidError(with error: DBNetworkStackError) {
+    private func loadDidError(with error: DBNetworkStackError) {
         if case DBNetworkStackError.cancelled = error {
             state = stateBeforeLoadingStarted
             return

        currentRequest = networkService.request(resource, onCompletion: loadDidSucess, onError: loadDidError)
    }
    
    func loadDidSucess(with result: Array<Object>) {
        currentRequest = nil
        contents = [result]
        state = .success

    public internal(set) var state: ResourceDataProviderState = .empty {
        didSet { whenStateChanges?(state) }
    }
    private var stateBeforeLoadingStarted: ResourceDataProviderState = .empty
    private var resource: Resource<Array<Object>>?
    
    public var dataProviderDidUpdate: ProcessUpdatesCallback<Object>?
    /// Closure which gets called, when a data inside the provider changes and those changes should be propagated to the datasource.
