     
     public private(set) var exportMethod = "File"
     
+    public var errorMessageForFailedDataExport = "FileExporter could not export data to local file."
+    
     private var fileNameGenerator: FileNameGenerator
     
     

            let result = getResult(withFilePath: filePath)
            completion?(result)
        } catch {
            let errorMessage = "Could not export data to local file."
            completion?(self.getResult(withErrorMessage: errorMessage))
        }
    }

            let result = getResult(withFilePath: filePath)
            completion?(result)
        } catch {
            let errorMessage = errorMessageForFailedDataExport
            completion?(self.getResult(withErrorMessage: errorMessage))
        }
    }
