Creates a new ErrorInfo instance with the given filePath and errorMessage.
filePath
errorMessage
ErrorInfo({ required this.filePath, required this.errorMessage, });